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.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.001236/0.001236, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002024/0.00326, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001231/0.001231, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002757, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.03/1.03, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.131, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.7027/0.7027, allocations: 119.1 MB / 363.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07402/0.7767, allocations: 37.87 MB / 400.9 MB, free: 13.74 MB / 394.7 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.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.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 1.833e-06/1.833e-06, allocations: 0 / 402.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.202e-05, allocations: 6.25 kB / 402.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001314/0.001336, allocations: 0.8787 MB / 403.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.003579, allocations: 2.497 MB / 405.6 MB, free: 9.066 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.003655, allocations: 4 kB / 405.6 MB, free: 9.062 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.003687, allocations: 11.81 kB / 405.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.003778, allocations: 43.56 kB / 405.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009683/0.004746, allocations: 486 kB / 406.1 MB, free: 8.531 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.005033, allocations: 315 kB / 406.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.005074, allocations: 10.47 kB / 406.4 MB, free: 8.215 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.005345, allocations: 211.5 kB / 406.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.005481, allocations: 131.7 kB / 406.8 MB, free: 7.879 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.005513, allocations: 28 kB / 406.8 MB, free: 7.852 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006014/0.006115, allocations: 423.5 kB / 407.2 MB, free: 7.438 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.006161, allocations: 39.94 kB / 407.2 MB, free: 7.398 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.006511, allocations: 67.86 kB / 407.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.00704, allocations: 494.4 kB / 407.8 MB, free: 6.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.007058, allocations: 0 / 407.8 MB, free: 6.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007059, allocations: 0 / 407.8 MB, free: 6.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.007076, allocations: 0 / 407.8 MB, free: 6.848 MB / 394.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.0007811/0.007857, allocations: 0.6569 MB / 408.4 MB, free: 6.164 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.007891, allocations: 16.03 kB / 408.5 MB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.008462, allocations: 213.5 kB / 408.7 MB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.008565, allocations: 138.2 kB / 408.8 MB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.008692, allocations: 234.1 kB / 409 MB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.008721, allocations: 28.36 kB / 409.1 MB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.008909, allocations: 208.3 kB / 409.3 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.00892, allocations: 8.125 kB / 409.3 MB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.008935, allocations: 8.125 kB / 409.3 MB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.008942, allocations: 4 kB / 409.3 MB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.009031, allocations: 71.78 kB / 409.4 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.009246, allocations: 203 kB / 409.6 MB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.009896, allocations: 415.3 kB / 410 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.009986, allocations: 118.2 kB / 410.1 MB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.01002, allocations: 8 kB / 410.1 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.01027, allocations: 275.5 kB / 410.4 MB, free: 3.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.01027, allocations: 0 / 410.4 MB, free: 3.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003065/0.01057, allocations: 234.9 kB / 410.6 MB, free: 3.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.0107, allocations: 358.1 kB / 410.9 MB, free: 3.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.01079, allocations: 167.2 kB / 411.1 MB, free: 3.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.01082, allocations: 41.7 kB / 411.1 MB, free: 2.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.01085, allocations: 89.12 kB / 411.2 MB, free: 2.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.01093, allocations: 119 kB / 411.3 MB, free: 2.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.01101, allocations: 102 kB / 411.4 MB, free: 2.676 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.0111, allocations: 331.3 kB / 411.8 MB, free: 2.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.0112, allocations: 69.66 kB / 411.8 MB, free: 2.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.01129, allocations: 104.3 kB / 411.9 MB, free: 2.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.01146, allocations: 175.2 kB / 412.1 MB, free: 1.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01147, allocations: 3.938 kB / 412.1 MB, free: 1.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002199/0.01169, allocations: 209.8 kB / 412.3 MB, free: 1.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.0117, allocations: 4 kB / 412.3 MB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01171, allocations: 0 / 412.3 MB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01172, allocations: 4 kB / 412.3 MB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.01194, allocations: 107.9 kB / 412.4 MB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01195, allocations: 15.88 kB / 412.4 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.01206, allocations: 47.75 kB / 412.5 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.01208, allocations: 15.98 kB / 412.5 MB, free: 1.566 MB / 394.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.0001196/0.0122, allocations: 137.8 kB / 412.6 MB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.01225, allocations: 31.97 kB / 412.7 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.01255, allocations: 258.3 kB / 412.9 MB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.01256, allocations: 15.94 kB / 412.9 MB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01256, allocations: 4 kB / 412.9 MB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.01257, allocations: 11.92 kB / 413 MB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.01276, allocations: 186.1 kB / 413.1 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01277, allocations: 0 / 413.1 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01293, allocations: 83.89 kB / 413.2 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.01302, allocations: 63.64 kB / 413.3 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01302, allocations: 4 kB / 413.3 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.01304, allocations: 15.94 kB / 413.3 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.01304, allocations: 15.92 kB / 413.3 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.01305, allocations: 4 kB / 413.3 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.01332, allocations: 329.9 kB / 413.6 MB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.01336, allocations: 23.98 kB / 413.7 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01346, allocations: 23.98 kB / 413.7 MB, free: 308 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.01352, allocations: 55.84 kB / 413.7 MB, free: 252 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.01354, allocations: 15.94 kB / 413.8 MB, free: 236 kB / 394.7 MB Notification: Performance of sorting global known variables: time 3.271e-05/0.01357, allocations: 48.8 kB / 413.8 MB, free: 184 kB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01357, allocations: 0 / 413.8 MB, free: 184 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006813/0.01425, allocations: 231.2 kB / 414 MB, free: 15.95 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.0004088/0.01466, allocations: 353.4 kB / 414.4 MB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.01491, allocations: 217 kB / 414.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.01492, allocations: 4 kB / 414.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.01504, allocations: 145.5 kB / 414.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.0152, allocations: 59.92 kB / 414.8 MB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.01765, allocations: 0.5355 MB / 415.3 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.01771, allocations: 97.73 kB / 415.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.01784, allocations: 59.25 kB / 415.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.01797, allocations: 103.4 kB / 415.6 MB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01797, allocations: 0 / 415.6 MB, free: 14.3 MB / 410.7 MB Notification: Performance of Templates: time 0.008297/0.02627, allocations: 6.478 MB / 422.1 MB, free: 7.816 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5051049599424005]