Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 117.2 kB / 19.59 MB, free: 2 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 188.6 kB / 22.84 MB, free: 4.5 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 251.5 MB, free: 13.11 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9777/0.9777, allocations: 149.5 MB / 456.3 MB, free: 1.312 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet")
translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 70.09 kB / 0.6324 GB, free: 9.211 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2191, allocations: 87.87 MB / 0.7182 GB, free: 1.273 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00244/0.2215, allocations: 0.8996 MB / 0.7191 GB, free: 388 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.003836/0.2253, allocations: 2.486 MB / 0.7215 GB, free: 13.87 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.2255, allocations: 3.938 kB / 0.7215 GB, free: 13.87 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 6.249e-05/0.2255, allocations: 11.81 kB / 0.7215 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.2258, allocations: 43.62 kB / 0.7216 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.2276, allocations: 0.4969 MB / 0.722 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.000614/0.2282, allocations: 319.1 kB / 0.7223 GB, free: 13 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.995e-05/0.2282, allocations: 5.812 kB / 0.7223 GB, free: 13 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.2286, allocations: 151.6 kB / 0.7225 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.229, allocations: 155.5 kB / 0.7226 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.229, allocations: 24 kB / 0.7227 GB, free: 12.68 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008753/0.2299, allocations: 371.7 kB / 0.723 GB, free: 12.31 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.23, allocations: 71.8 kB / 0.7231 GB, free: 12.24 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.000182/0.2302, allocations: 115.5 kB / 0.7232 GB, free: 12.13 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2313, allocations: 0.5489 MB / 0.7237 GB, free: 11.58 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2313, allocations: 4 kB / 0.7237 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.963e-06/0.2313, allocations: 0 / 0.7237 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.386e-05/0.2313, allocations: 0 / 0.7237 GB, free: 11.57 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 32
 * Number of variables: 32
Notification: Performance of Generate backend data structure: time 0.001515/0.2328, allocations: 0.5999 MB / 0.7243 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2328, allocations: 8.625 kB / 0.7243 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.24e-05/0.2329, allocations: 20.84 kB / 0.7244 GB, free: 10.91 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2331, allocations: 135.9 kB / 0.7245 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.2333, allocations: 127.4 kB / 0.7246 GB, free: 10.61 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.2334, allocations: 24.36 kB / 0.7246 GB, free: 10.58 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.2338, allocations: 239.9 kB / 0.7249 GB, free: 10.3 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2338, allocations: 0 / 0.7249 GB, free: 10.3 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.2338, allocations: 11.98 kB / 0.7249 GB, free: 10.29 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.2338, allocations: 4 kB / 0.7249 GB, free: 10.29 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.2341, allocations: 115.7 kB / 0.725 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.2346, allocations: 374.2 kB / 0.7253 GB, free: 9.734 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.2362, allocations: 487.2 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.2365, allocations: 150.3 kB / 0.7259 GB, free: 8.965 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.2365, allocations: 11.98 kB / 0.726 GB, free: 8.953 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/0.2371, allocations: 311.6 kB / 0.7263 GB, free: 8.598 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.2371, allocations: 0 / 0.7263 GB, free: 8.598 MB / 0.545 GB
Notification: Performance of matching and sorting (n=40): time 0.0009742/0.238, allocations: 417.9 kB / 0.7267 GB, free: 8.184 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000235/0.2383, allocations: 358.6 kB / 0.727 GB, free: 7.754 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.2385, allocations: 172.6 kB / 0.7272 GB, free: 7.574 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.2385, allocations: 41.69 kB / 0.7272 GB, free: 7.527 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.2386, allocations: 101.1 kB / 0.7273 GB, free: 7.422 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2387, allocations: 115.1 kB / 0.7274 GB, free: 7.309 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2389, allocations: 98.11 kB / 0.7275 GB, free: 7.207 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001762/0.2391, allocations: 338.8 kB / 0.7278 GB, free: 6.867 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.2394, allocations: 113 kB / 0.7279 GB, free: 6.758 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.2397, allocations: 168.3 kB / 0.7281 GB, free: 6.582 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.2404, allocations: 266.5 kB / 0.7283 GB, free: 6.312 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2404, allocations: 4 kB / 0.7283 GB, free: 6.309 MB / 0.545 GB
Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008554/0.2412, allocations: 376.3 kB / 0.7287 GB, free: 5.938 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2412, allocations: 4 kB / 0.7287 GB, free: 5.934 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2412, allocations: 0 / 0.7287 GB, free: 5.934 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2413, allocations: 4 kB / 0.7287 GB, free: 5.93 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.2417, allocations: 83.81 kB / 0.7288 GB, free: 5.848 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2417, allocations: 0 / 0.7288 GB, free: 5.848 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.242, allocations: 59.69 kB / 0.7289 GB, free: 5.789 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.2421, allocations: 19.98 kB / 0.7289 GB, free: 5.77 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (56):
 * Single equations (assignments): 56
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.2423, allocations: 154.5 kB / 0.729 GB, free: 5.609 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.2423, allocations: 31.8 kB / 0.729 GB, free: 5.578 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.2431, allocations: 354.2 kB / 0.7294 GB, free: 5.23 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.2431, allocations: 12 kB / 0.7294 GB, free: 5.219 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.2432, allocations: 4 kB / 0.7294 GB, free: 5.215 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.2432, allocations: 7.984 kB / 0.7294 GB, free: 5.207 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.2436, allocations: 316.3 kB / 0.7297 GB, free: 4.855 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.2436, allocations: 7.938 kB / 0.7297 GB, free: 4.848 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.2439, allocations: 75.83 kB / 0.7298 GB, free: 4.773 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.244, allocations: 8.25 kB / 0.7298 GB, free: 4.766 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.244, allocations: 19.98 kB / 0.7298 GB, free: 4.746 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.244, allocations: 8 kB / 0.7298 GB, free: 4.738 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.244, allocations: 4 kB / 0.7298 GB, free: 4.734 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.2449, allocations: 0.4924 MB / 0.7303 GB, free: 4.184 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.2451, allocations: 75.56 kB / 0.7304 GB, free: 4.109 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.2451, allocations: 23.92 kB / 0.7304 GB, free: 4.086 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.2454, allocations: 31.97 kB / 0.7304 GB, free: 4.055 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2455, allocations: 55.8 kB / 0.7305 GB, free: 4 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.2456, allocations: 20 kB / 0.7305 GB, free: 3.98 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001215/0.2457, allocations: 131.2 kB / 0.7306 GB, free: 3.852 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2457, allocations: 0 / 0.7306 GB, free: 3.852 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.00072/0.2464, allocations: 223.2 kB / 0.7308 GB, free: 3.633 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * Number of states: 0 ()
 * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp)
 * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (60):
 * Single equations (assignments): 52
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 8
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006923/0.2471, allocations: 320.3 kB / 0.7311 GB, free: 3.309 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0007678/0.2479, allocations: 322.3 kB / 0.7315 GB, free: 2.992 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2479, allocations: 4 kB / 0.7315 GB, free: 2.988 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.2482, allocations: 168.6 kB / 0.7316 GB, free: 2.824 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2485, allocations: 36.94 kB / 0.7317 GB, free: 2.789 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2497, allocations: 0.5573 MB / 0.7322 GB, free: 2.172 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.2501, allocations: 0.7572 MB / 0.7329 GB, free: 1.387 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0002163/0.2503, allocations: 55.31 kB / 0.733 GB, free: 1.336 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.2504, allocations: 51.41 kB / 0.733 GB, free: 1.285 MB / 0.545 GB
Notification: Performance of SimCode: time 4.21e-07/0.2504, allocations: 0 / 0.733 GB, free: 1.285 MB / 0.545 GB
Notification: Performance of Templates: time 0.01221/0.2626, allocations: 5.86 MB / 0.7388 GB, free: 11.43 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.7149640480056405]
Failed to read output from testmodel.py, exit status != 0:
0.27310057636350393 0.655609354 0.420508324
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f67d16917b0>