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.0007216/0.0007216, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008308/0.0008308, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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 0.8431/0.8431, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.5628/0.5628, allocations: 114 MB / 374.7 MB, free: 8.723 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.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 2.114e-06/2.114e-06, allocations: 0 / 0.5554 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.462e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001217/0.001242, allocations: 0.8307 MB / 0.5562 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.003344, allocations: 2.42 MB / 0.5586 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.003404, allocations: 3.938 kB / 0.5586 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.003438, allocations: 11.81 kB / 0.5586 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.00362, allocations: 51.56 kB / 0.5586 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.004265, allocations: 0.4942 MB / 0.5591 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.004502, allocations: 327 kB / 0.5594 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.004548, allocations: 5.812 kB / 0.5594 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.004816, allocations: 207.6 kB / 0.5596 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.004948, allocations: 123.7 kB / 0.5597 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.004982, allocations: 24 kB / 0.5598 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.005375, allocations: 379.5 kB / 0.5601 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.005427, allocations: 79.75 kB / 0.5602 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.005499, allocations: 87.78 kB / 0.5603 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.006064, allocations: 0.6582 MB / 0.5609 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.006066, allocations: 0 / 0.5609 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.041e-06/0.006067, allocations: 0 / 0.5609 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.006072, allocations: 4 kB / 0.5609 GB, free: 12.6 MB / 0.5261 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.0008231/0.006895, allocations: 0.6038 MB / 0.5615 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.006935, allocations: 12.62 kB / 0.5615 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005108/0.007446, allocations: 88.77 kB / 0.5616 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.007547, allocations: 142.1 kB / 0.5618 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.007692, allocations: 230.2 kB / 0.562 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.007721, allocations: 20.38 kB / 0.562 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.00798, allocations: 240.3 kB / 0.5622 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.007993, allocations: 4.188 kB / 0.5622 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.008015, allocations: 12.12 kB / 0.5622 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.008023, allocations: 4 kB / 0.5622 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.008195, allocations: 127.7 kB / 0.5624 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.00846, allocations: 287 kB / 0.5626 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/0.009236, allocations: 479.3 kB / 0.5631 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.009377, allocations: 146.2 kB / 0.5632 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.009409, allocations: 12 kB / 0.5633 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.00972, allocations: 311.5 kB / 0.5636 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 1.744e-06/0.009722, allocations: 0 / 0.5636 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.0005843/0.01031, allocations: 417 kB / 0.5639 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.01043, allocations: 354.1 kB / 0.5643 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.01054, allocations: 171.2 kB / 0.5644 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.01057, allocations: 38.2 kB / 0.5645 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.01061, allocations: 97.09 kB / 0.5646 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.01069, allocations: 123.1 kB / 0.5647 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.01078, allocations: 94.11 kB / 0.5648 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.01087, allocations: 334.8 kB / 0.5651 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.01105, allocations: 116.9 kB / 0.5652 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.01124, allocations: 164.3 kB / 0.5654 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.01157, allocations: 269.2 kB / 0.5656 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01157, allocations: 0 / 0.5656 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004525/0.01203, allocations: 381.3 kB / 0.566 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01204, allocations: 4 kB / 0.566 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01205, allocations: 5 kB / 0.566 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01206, allocations: 7.922 kB / 0.566 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.01224, allocations: 79.83 kB / 0.5661 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.01225, allocations: 4 kB / 0.5661 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01237, allocations: 47.75 kB / 0.5661 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.0124, allocations: 19.98 kB / 0.5662 GB, free: 6.707 MB / 0.5261 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.0001084/0.01251, allocations: 161.7 kB / 0.5663 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.01254, allocations: 31.8 kB / 0.5663 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.01297, allocations: 354.3 kB / 0.5667 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.01297, allocations: 16.12 kB / 0.5667 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.01298, allocations: 0 / 0.5667 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.01299, allocations: 11.97 kB / 0.5667 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.01319, allocations: 245 kB / 0.5669 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.01319, allocations: 4 kB / 0.5669 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.01333, allocations: 75.89 kB / 0.567 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.01334, allocations: 4 kB / 0.567 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.01336, allocations: 12 kB / 0.567 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.01337, allocations: 11.92 kB / 0.567 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.01337, allocations: 11.94 kB / 0.5671 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.01385, allocations: 496.7 kB / 0.5675 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.01397, allocations: 71.62 kB / 0.5676 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.014, allocations: 23.98 kB / 0.5676 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01411, allocations: 23.98 kB / 0.5676 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.01419, allocations: 59.78 kB / 0.5677 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.01421, allocations: 20 kB / 0.5677 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.01428, allocations: 127.2 kB / 0.5678 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01428, allocations: 0 / 0.5678 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003688/0.01464, allocations: 231.2 kB / 0.5681 GB, free: 4.656 MB / 0.5261 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.0003928/0.01504, allocations: 361 kB / 0.5684 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.01546, allocations: 311.2 kB / 0.5687 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01546, allocations: 7.938 kB / 0.5687 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.01564, allocations: 171.6 kB / 0.5689 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.01584, allocations: 33.64 kB / 0.5689 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.01648, allocations: 0.577 MB / 0.5695 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.908e-05/0.01657, allocations: 147.7 kB / 0.5696 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.01666, allocations: 52.47 kB / 0.5697 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of SimCode: time 4.01e-07/0.01666, allocations: 4 kB / 0.5697 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of Templates: time 0.005248/0.02191, allocations: 5.661 MB / 0.5752 GB, free: 13.29 MB / 0.5417 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: 4.743672379292548] Failed to read output from testmodel.py, exit status != 0: 0.026983052492141724 0.034866048000000004 0.027141275000000003 Calling exit ...