Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 93.47 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.064/1.064, allocations: 115 MB / 375.3 MB, free: 7.598 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0.875 kB / 480.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.6e-05, allocations: 2.312 kB / 480.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001695/0.001721, allocations: 0.8528 MB / 481.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.004313, allocations: 2.472 MB / 484.1 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.004388, allocations: 0 / 484.1 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.004421, allocations: 16.25 kB / 484.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.004618, allocations: 50.02 kB / 484.1 MB, free: 9.676 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009068/0.005525, allocations: 0.4999 MB / 484.6 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.005813, allocations: 321.2 kB / 485 MB, free: 9.293 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.005856, allocations: 11.5 kB / 485 MB, free: 9.285 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.006167, allocations: 204.2 kB / 485.2 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.006332, allocations: 124.6 kB / 485.3 MB, free: 9.176 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.006387, allocations: 23.41 kB / 485.3 MB, free: 9.176 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.006992, allocations: 391.1 kB / 485.7 MB, free: 9.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.007049, allocations: 68.08 kB / 485.8 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.00714, allocations: 86.39 kB / 485.8 MB, free: 9.012 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007758/0.007915, allocations: 0.6583 MB / 486.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.007919, allocations: 1.594 kB / 486.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007921, allocations: 0 / 486.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.007926, allocations: 0.5 kB / 486.5 MB, free: 8.777 MB / 410.7 MB 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.001221/0.009147, allocations: 0.7094 MB / 487.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.009188, allocations: 9.375 kB / 487.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.01025, allocations: 127.8 kB / 487.3 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.01034, allocations: 142.5 kB / 487.5 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.01046, allocations: 233.9 kB / 487.7 MB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.0105, allocations: 17.38 kB / 487.7 MB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.01083, allocations: 279.2 kB / 488 MB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01084, allocations: 1.844 kB / 488 MB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.01086, allocations: 8.719 kB / 488 MB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.01087, allocations: 8.766 kB / 488 MB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.0111, allocations: 113.2 kB / 488.1 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.01143, allocations: 341 kB / 488.5 MB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.01285, allocations: 0.5834 MB / 489 MB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.01304, allocations: 184.2 kB / 489.2 MB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.01308, allocations: 16.55 kB / 489.2 MB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003816/0.01346, allocations: 353.1 kB / 489.6 MB, free: 6.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.01346, allocations: 3.562 kB / 489.6 MB, free: 6.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008508/0.01432, allocations: 440.1 kB / 490 MB, free: 6.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.01439, allocations: 355.5 kB / 490.4 MB, free: 5.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.01452, allocations: 237 kB / 490.6 MB, free: 5.496 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.01456, allocations: 39.52 kB / 490.6 MB, free: 5.457 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.01473, allocations: 147.6 kB / 490.8 MB, free: 21.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.01481, allocations: 123.3 kB / 490.9 MB, free: 21.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.01495, allocations: 114.5 kB / 491 MB, free: 21.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.01521, allocations: 0.5074 MB / 491.5 MB, free: 20.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.01546, allocations: 116 kB / 491.6 MB, free: 20.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.01576, allocations: 181.6 kB / 491.8 MB, free: 20.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.01627, allocations: 289.5 kB / 492.1 MB, free: 20.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01627, allocations: 2.875 kB / 492.1 MB, free: 20.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007446/0.01701, allocations: 395.6 kB / 492.5 MB, free: 20.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.01703, allocations: 6.531 kB / 492.5 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.01704, allocations: 1.188 kB / 492.5 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.01706, allocations: 7.094 kB / 492.5 MB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.01747, allocations: 89.56 kB / 492.6 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.01748, allocations: 3.219 kB / 492.6 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.01774, allocations: 44.67 kB / 492.6 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.01778, allocations: 19.86 kB / 492.7 MB, free: 20.21 MB / 426.7 MB 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.0001847/0.01797, allocations: 203.6 kB / 492.8 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.01805, allocations: 39.89 kB / 492.9 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.0187, allocations: 359.6 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.01871, allocations: 12.12 kB / 493.3 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.01872, allocations: 6 kB / 493.3 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.01873, allocations: 10.64 kB / 493.3 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.01903, allocations: 257 kB / 493.5 MB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.01903, allocations: 3.75 kB / 493.5 MB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.01932, allocations: 76.12 kB / 493.6 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.01932, allocations: 8.125 kB / 493.6 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.01935, allocations: 21.86 kB / 493.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.01936, allocations: 5.406 kB / 493.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.01936, allocations: 6.938 kB / 493.6 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.02008, allocations: 0.5451 MB / 494.2 MB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.02023, allocations: 73 kB / 494.3 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.02028, allocations: 23.89 kB / 494.3 MB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.02052, allocations: 25.42 kB / 494.3 MB, free: 19.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.02063, allocations: 58.3 kB / 494.4 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.02066, allocations: 23.73 kB / 494.4 MB, free: 19.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.02079, allocations: 173.6 kB / 494.6 MB, free: 19.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02079, allocations: 0.9688 kB / 494.6 MB, free: 19.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006327/0.02143, allocations: 233.4 kB / 494.8 MB, free: 18.99 MB / 426.7 MB 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.0005628/0.02199, allocations: 362.1 kB / 495.1 MB, free: 18.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.02262, allocations: 346.1 kB / 495.5 MB, free: 18.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.02262, allocations: 1.219 kB / 495.5 MB, free: 18.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.0229, allocations: 198 kB / 495.7 MB, free: 18.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.02317, allocations: 46.12 kB / 495.7 MB, free: 18.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008473/0.02402, allocations: 0.5964 MB / 496.3 MB, free: 18.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.02414, allocations: 153 kB / 496.5 MB, free: 18.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.02433, allocations: 63.58 kB / 496.5 MB, free: 18.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.02446, allocations: 50.12 kB / 496.6 MB, free: 18.08 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02446, allocations: 0 / 496.6 MB, free: 18.08 MB / 426.7 MB Notification: Performance of Templates: time 0.01166/0.03612, allocations: 5.884 MB / 0.4907 GB, free: 17.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.921168336062692]