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.00122/0.00122, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001577/0.001577, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.065/1.065, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6989/0.6989, allocations: 115 MB / 376 MB, free: 7.484 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 2.715e-06/2.715e-06, allocations: 0 / 428.7 MB, free: 2.793 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.478e-05, allocations: 6.25 kB / 428.7 MB, free: 2.785 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002335/0.00237, allocations: 0.8982 MB / 429.6 MB, free: 1.887 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.005911, allocations: 2.482 MB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.006065, allocations: 4 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/0.006112, allocations: 11.81 kB / 432.1 MB, free: 15.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.006388, allocations: 51.5 kB / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.007822, allocations: 489.9 kB / 432.7 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.008259, allocations: 319 kB / 433 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.128e-05/0.008331, allocations: 14.45 kB / 433 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.00875, allocations: 199.7 kB / 433.2 MB, free: 14.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.00896, allocations: 127.7 kB / 433.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.009013, allocations: 24 kB / 433.3 MB, free: 14.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.01004, allocations: 419.5 kB / 433.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.01012, allocations: 71.84 kB / 433.8 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.885e-05/0.01022, allocations: 87.78 kB / 433.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.01125, allocations: 0.5802 MB / 434.5 MB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.01126, allocations: 0 / 434.5 MB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.01126, allocations: 0 / 434.5 MB, free: 13.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.01128, allocations: 4 kB / 434.5 MB, free: 13.01 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.001099/0.01237, allocations: 0.5635 MB / 435 MB, free: 12.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.01242, allocations: 12.03 kB / 435 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.01343, allocations: 140.5 kB / 435.2 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.01358, allocations: 142.2 kB / 435.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.01378, allocations: 230.2 kB / 435.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.01382, allocations: 20.38 kB / 435.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.0141, allocations: 212.2 kB / 435.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01411, allocations: 192 / 435.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.01413, allocations: 16.06 kB / 435.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.01414, allocations: 4 kB / 435.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.01427, allocations: 67.8 kB / 435.9 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.0146, allocations: 199.1 kB / 436.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.01557, allocations: 419.2 kB / 436.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.01571, allocations: 118.2 kB / 436.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.01575, allocations: 11.94 kB / 436.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.01612, allocations: 275.6 kB / 436.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.993e-06/0.01612, allocations: 0 / 436.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005458/0.01667, allocations: 233.2 kB / 437.1 MB, free: 9.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.01683, allocations: 354.1 kB / 437.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.01697, allocations: 167.2 kB / 437.6 MB, free: 9.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.01702, allocations: 45.62 kB / 437.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.01706, allocations: 93.08 kB / 437.7 MB, free: 9.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/0.01716, allocations: 115.6 kB / 437.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.01729, allocations: 102.1 kB / 437.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01741, allocations: 338.8 kB / 438.3 MB, free: 8.688 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.01756, allocations: 61.66 kB / 438.3 MB, free: 8.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.0177, allocations: 104.3 kB / 438.4 MB, free: 8.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.01797, allocations: 171.1 kB / 438.6 MB, free: 8.328 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01797, allocations: 0 / 438.6 MB, free: 8.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003652/0.01833, allocations: 213.5 kB / 438.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01836, allocations: 4 kB / 438.8 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01837, allocations: 4 kB / 438.8 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.01839, allocations: 4.75 kB / 438.8 MB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.01873, allocations: 96.8 kB / 438.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.01874, allocations: 7.938 kB / 438.9 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.01892, allocations: 47.75 kB / 439 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.01896, allocations: 15.98 kB / 439 MB, free: 7.938 MB / 410.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.000171/0.01913, allocations: 145.7 kB / 439.1 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.0192, allocations: 35.91 kB / 439.2 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.01968, allocations: 266.3 kB / 439.4 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.01969, allocations: 8 kB / 439.4 MB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.0197, allocations: 4 kB / 439.4 MB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.01971, allocations: 12.11 kB / 439.5 MB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.02001, allocations: 178.1 kB / 439.6 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.02002, allocations: 11.97 kB / 439.6 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.02025, allocations: 71.91 kB / 439.7 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.02026, allocations: 8 kB / 439.7 MB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.02029, allocations: 15.98 kB / 439.7 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.0203, allocations: 7.938 kB / 439.7 MB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.0203, allocations: 4 kB / 439.7 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.02072, allocations: 333.5 kB / 440.1 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.02086, allocations: 55.66 kB / 440.1 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.02091, allocations: 16.25 kB / 440.1 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.02108, allocations: 35.97 kB / 440.2 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.02118, allocations: 59.8 kB / 440.2 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.02121, allocations: 15.98 kB / 440.2 MB, free: 6.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.68e-05/0.02127, allocations: 52.72 kB / 440.3 MB, free: 6.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02127, allocations: 0 / 440.3 MB, free: 6.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006661/0.02193, allocations: 231.2 kB / 440.5 MB, free: 6.316 MB / 410.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.0006014/0.02254, allocations: 345.2 kB / 440.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.02295, allocations: 217 kB / 441.1 MB, free: 5.754 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.02295, allocations: 4 kB / 441.1 MB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.02315, allocations: 137.5 kB / 441.2 MB, free: 5.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.02338, allocations: 39.92 kB / 441.3 MB, free: 5.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.0245, allocations: 0.5087 MB / 441.8 MB, free: 5.004 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.693e-05/0.02458, allocations: 101.7 kB / 441.9 MB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.02479, allocations: 59.31 kB / 441.9 MB, free: 4.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.02498, allocations: 103.3 kB / 442 MB, free: 4.723 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.02499, allocations: 4 kB / 442 MB, free: 4.719 MB / 410.7 MB Notification: Performance of Templates: time 0.1959/0.2209, allocations: 6.429 MB / 448.5 MB, free: 29.97 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7738843611441553]