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.0007268/0.0007268, allocations: 84.44 kB / 20.69 MB, free: 3.863 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.0007447/0.0007447, allocations: 165.9 kB / 23.96 MB, free: 0.5898 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.8673/0.8673, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.5462/0.5462, allocations: 114 MB / 374.7 MB, free: 8.727 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 1.823e-06/1.823e-06, allocations: 0 / 0.5554 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.326e-05, allocations: 6.281 kB / 0.5554 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001217/0.001241, allocations: 0.8295 MB / 0.5562 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.003269, allocations: 2.428 MB / 0.5586 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.003327, allocations: 3.938 kB / 0.5586 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.00336, allocations: 11.81 kB / 0.5586 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.003534, allocations: 43.62 kB / 0.5586 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.004131, allocations: 0.498 MB / 0.5591 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.00436, allocations: 323 kB / 0.5594 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.004404, allocations: 9.812 kB / 0.5594 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.004659, allocations: 203.7 kB / 0.5596 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.004787, allocations: 127.7 kB / 0.5598 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.004818, allocations: 20 kB / 0.5598 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.005192, allocations: 383.5 kB / 0.5601 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.00524, allocations: 75.81 kB / 0.5602 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.875e-05/0.005309, allocations: 91.78 kB / 0.5603 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.00589, allocations: 0.6621 MB / 0.5609 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005893, allocations: 0 / 0.5609 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005893, allocations: 0 / 0.5609 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.005898, allocations: 0 / 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.0007798/0.006678, allocations: 0.5999 MB / 0.5615 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.006713, allocations: 12.62 kB / 0.5615 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.007219, allocations: 84.77 kB / 0.5616 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.959e-05/0.007309, allocations: 146.1 kB / 0.5618 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.007438, allocations: 226.2 kB / 0.562 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.007467, allocations: 24.38 kB / 0.562 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.007707, allocations: 244.2 kB / 0.5622 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.007717, allocations: 12.06 kB / 0.5622 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.007736, allocations: 12.12 kB / 0.5623 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.007742, allocations: 4 kB / 0.5623 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.007898, allocations: 115.8 kB / 0.5624 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.008152, allocations: 287 kB / 0.5626 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.008908, allocations: 479.3 kB / 0.5631 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.009046, allocations: 150.3 kB / 0.5632 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.009073, allocations: 4 kB / 0.5632 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.009368, allocations: 311.6 kB / 0.5635 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.00937, allocations: 0 / 0.5635 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.0005616/0.009931, allocations: 422.2 kB / 0.5639 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.01004, allocations: 362.2 kB / 0.5643 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.01014, allocations: 167.2 kB / 0.5645 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.01017, allocations: 37.7 kB / 0.5645 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.01021, allocations: 101.1 kB / 0.5646 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.01028, allocations: 111.1 kB / 0.5647 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.01036, allocations: 98.11 kB / 0.5648 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.01044, allocations: 334.8 kB / 0.5651 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.01061, allocations: 116.9 kB / 0.5652 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.01079, allocations: 164.3 kB / 0.5654 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.01112, allocations: 277 kB / 0.5656 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01112, allocations: 0 / 0.5656 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000439/0.01156, allocations: 372.7 kB / 0.566 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01157, allocations: 5.719 kB / 0.566 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01158, allocations: 3.938 kB / 0.566 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01159, allocations: 11.92 kB / 0.566 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.01177, allocations: 75.89 kB / 0.5661 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01178, allocations: 0 / 0.5661 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.0119, allocations: 55.75 kB / 0.5661 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.01192, 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.0001039/0.01202, allocations: 157.6 kB / 0.5663 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.01206, allocations: 23.86 kB / 0.5663 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.01246, allocations: 359 kB / 0.5667 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.01247, allocations: 11.94 kB / 0.5667 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.01248, allocations: 4.438 kB / 0.5667 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.01248, allocations: 7.984 kB / 0.5667 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.01267, allocations: 245 kB / 0.5669 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.01268, allocations: 8 kB / 0.5669 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.01282, allocations: 75.89 kB / 0.567 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.01282, allocations: 8 kB / 0.567 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.01284, allocations: 12 kB / 0.567 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.01285, allocations: 11.92 kB / 0.567 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.01285, allocations: 11.88 kB / 0.567 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.01344, allocations: 492.4 kB / 0.5675 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.01355, allocations: 71.62 kB / 0.5676 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.01358, allocations: 19.98 kB / 0.5676 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01369, allocations: 27.92 kB / 0.5676 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.01376, allocations: 63.78 kB / 0.5677 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.01378, allocations: 24 kB / 0.5677 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.01384, allocations: 123.2 kB / 0.5678 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01384, allocations: 0 / 0.5678 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003501/0.01419, allocations: 231.2 kB / 0.5681 GB, free: 4.66 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.0003662/0.01456, allocations: 365.2 kB / 0.5684 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.01495, allocations: 317.7 kB / 0.5687 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01496, allocations: 0 / 0.5687 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.01514, allocations: 172.6 kB / 0.5689 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01532, allocations: 32.67 kB / 0.5689 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.01594, allocations: 0.581 MB / 0.5695 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.657e-05/0.01604, 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.061e-05/0.01613, allocations: 52.47 kB / 0.5697 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/0.01613, allocations: 0 / 0.5697 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of Templates: time 0.004931/0.02106, allocations: 5.681 MB / 0.5752 GB, free: 13.28 MB / 0.5417 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.737466270104051] Failed to read output from testmodel.py, exit status != 0: 0.02572446223348379 0.038071333000000006 0.030508996000000004 Calling exit ...