Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.001856/0.001856, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002794/0.002794, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.59 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.547e-05, allocations: 3.297 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001668/0.001693, allocations: 0.8451 MB / 481.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.00441, allocations: 2.48 MB / 484.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.004481, allocations: 1.219 kB / 484.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.004514, allocations: 11.81 kB / 484.1 MB, free: 9.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.004723, allocations: 53.66 kB / 484.1 MB, free: 9.738 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008677/0.00559, allocations: 0.4949 MB / 484.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.005892, allocations: 329.8 kB / 485 MB, free: 9.352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.005939, allocations: 8.156 kB / 485 MB, free: 9.348 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.006267, allocations: 202.7 kB / 485.2 MB, free: 9.273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.006448, allocations: 125.6 kB / 485.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.006507, allocations: 27.61 kB / 485.3 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.007131, allocations: 383.2 kB / 485.7 MB, free: 9.148 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.007191, allocations: 68.56 kB / 485.8 MB, free: 9.109 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.007288, allocations: 86.64 kB / 485.8 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007577/0.008045, allocations: 0.6601 MB / 486.5 MB, free: 8.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.008049, allocations: 3.328 kB / 486.5 MB, free: 8.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00805, allocations: 1.781 kB / 486.5 MB, free: 8.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.008056, allocations: 0 / 486.5 MB, free: 8.84 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.001232/0.009288, allocations: 0.7083 MB / 487.2 MB, free: 8.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.009325, allocations: 9.625 kB / 487.2 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.01035, allocations: 126.9 kB / 487.3 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.44e-05/0.01044, allocations: 146.5 kB / 487.5 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.01059, allocations: 232.2 kB / 487.7 MB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.01063, allocations: 20.39 kB / 487.7 MB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.01095, allocations: 273.9 kB / 488 MB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.01096, allocations: 5.969 kB / 488 MB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.01099, allocations: 10.5 kB / 488 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.01099, allocations: 4.969 kB / 488 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.01122, allocations: 115.7 kB / 488.1 MB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.01157, allocations: 338.4 kB / 488.5 MB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.01296, allocations: 0.585 MB / 489.1 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.01314, allocations: 178.7 kB / 489.2 MB, free: 6.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.01318, allocations: 21.08 kB / 489.3 MB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.01357, allocations: 354.5 kB / 489.6 MB, free: 6.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.01358, allocations: 0 / 489.6 MB, free: 6.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.00084/0.01442, allocations: 439.1 kB / 490 MB, free: 6.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/0.01451, allocations: 355.1 kB / 490.4 MB, free: 5.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01465, allocations: 233.4 kB / 490.6 MB, free: 5.559 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.01468, allocations: 43.22 kB / 490.6 MB, free: 5.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.01473, allocations: 149 kB / 490.8 MB, free: 5.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.01481, allocations: 126.2 kB / 490.9 MB, free: 5.273 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.01494, allocations: 110.4 kB / 491 MB, free: 5.215 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003699/0.01531, allocations: 0.5068 MB / 491.5 MB, free: 20.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.01557, allocations: 113.6 kB / 491.6 MB, free: 20.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.01586, allocations: 184.7 kB / 491.8 MB, free: 20.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.01637, allocations: 285.7 kB / 492.1 MB, free: 20.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.01638, allocations: 1.844 kB / 492.1 MB, free: 20.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007212/0.0171, allocations: 397.5 kB / 492.5 MB, free: 20.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01712, allocations: 5.156 kB / 492.5 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01712, allocations: 1.906 kB / 492.5 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.01714, allocations: 6.656 kB / 492.5 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.01755, allocations: 92.95 kB / 492.6 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.01756, allocations: 3.688 kB / 492.6 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.01782, allocations: 46.12 kB / 492.6 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.01785, allocations: 21.95 kB / 492.7 MB, free: 20.27 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.0001825/0.01803, allocations: 202.6 kB / 492.9 MB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.01812, allocations: 40.23 kB / 492.9 MB, free: 20.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.01877, allocations: 355.9 kB / 493.2 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.01878, allocations: 12.25 kB / 493.3 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.01879, allocations: 4.875 kB / 493.3 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.0188, allocations: 10.02 kB / 493.3 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.01912, allocations: 260.5 kB / 493.5 MB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.01913, allocations: 3.656 kB / 493.5 MB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.01942, allocations: 74.11 kB / 493.6 MB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.01943, allocations: 4.031 kB / 493.6 MB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.01946, allocations: 25.2 kB / 493.6 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.01946, allocations: 4.375 kB / 493.6 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.01946, allocations: 7.344 kB / 493.6 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.02017, allocations: 0.5509 MB / 494.2 MB, free: 19.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.02032, allocations: 76.16 kB / 494.3 MB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.02037, allocations: 18.5 kB / 494.3 MB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.0206, allocations: 26.62 kB / 494.3 MB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.02071, allocations: 60.27 kB / 494.4 MB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.02074, allocations: 24.8 kB / 494.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.02087, allocations: 171.5 kB / 494.6 MB, free: 19.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02087, allocations: 0.8438 kB / 494.6 MB, free: 19.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.02151, allocations: 235.5 kB / 494.8 MB, free: 19.05 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.0005818/0.02209, allocations: 360.7 kB / 495.1 MB, free: 18.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006326/0.02273, allocations: 343.3 kB / 495.5 MB, free: 18.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02273, allocations: 0 / 495.5 MB, free: 18.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.02301, allocations: 198.5 kB / 495.7 MB, free: 18.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.02329, allocations: 44.31 kB / 495.7 MB, free: 18.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.02413, allocations: 0.5956 MB / 496.3 MB, free: 18.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.02426, allocations: 154.6 kB / 496.5 MB, free: 18.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.02445, allocations: 59.8 kB / 496.5 MB, free: 18.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.02457, allocations: 52.09 kB / 496.6 MB, free: 18.14 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02457, allocations: 0 / 496.6 MB, free: 18.14 MB / 426.7 MB Notification: Performance of Templates: time 0.01185/0.03642, allocations: 5.874 MB / 0.4907 GB, free: 17.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9205259119626135]