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.001995/0.001995, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.002621/0.002621, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.054/1.054, allocations: 115 MB / 375.3 MB, free: 7.562 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.074e-06/2.074e-06, allocations: 0 / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.131e-05, allocations: 2.312 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002461/0.002492, allocations: 0.8354 MB / 481.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.006762, allocations: 2.421 MB / 484 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.006909, allocations: 1.062 kB / 484 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.564e-05/0.006975, allocations: 15.75 kB / 484 MB, free: 9.703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.007313, allocations: 51.88 kB / 484.1 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.009106, allocations: 0.5016 MB / 484.6 MB, free: 9.426 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.009612, allocations: 323.5 kB / 484.9 MB, free: 9.281 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.913e-05/0.009671, allocations: 8.5 kB / 484.9 MB, free: 9.277 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.01015, allocations: 205.4 kB / 485.1 MB, free: 9.199 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.01041, allocations: 123.8 kB / 485.2 MB, free: 9.168 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.01048, allocations: 24.81 kB / 485.2 MB, free: 9.168 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.01156, allocations: 386.4 kB / 485.6 MB, free: 9.078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.01164, allocations: 71.02 kB / 485.7 MB, free: 9.039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.01178, allocations: 92.36 kB / 485.8 MB, free: 9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.01289, allocations: 0.653 MB / 486.4 MB, free: 8.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01289, allocations: 0 / 486.4 MB, free: 8.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.0129, allocations: 1.031 kB / 486.4 MB, free: 8.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.0129, allocations: 1.469 kB / 486.4 MB, free: 8.77 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.001896/0.0148, allocations: 0.6102 MB / 487.1 MB, free: 8.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.01485, allocations: 9.219 kB / 487.1 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.01677, allocations: 125.4 kB / 487.2 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.01691, allocations: 140.1 kB / 487.3 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.01714, allocations: 232 kB / 487.5 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.01721, allocations: 17.56 kB / 487.6 MB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.01776, allocations: 241.5 kB / 487.8 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01778, allocations: 1.438 kB / 487.8 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.01782, allocations: 14.14 kB / 487.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01783, allocations: 4.062 kB / 487.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.01823, allocations: 116.2 kB / 487.9 MB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.01879, allocations: 293.8 kB / 488.2 MB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.02117, allocations: 477.7 kB / 488.7 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.02149, allocations: 150.1 kB / 488.8 MB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.02154, allocations: 9.031 kB / 488.8 MB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006541/0.0222, allocations: 311.9 kB / 489.1 MB, free: 6.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 5.4e-06/0.0222, allocations: 0 / 489.1 MB, free: 6.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001511/0.02371, allocations: 440.8 kB / 489.6 MB, free: 6.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/0.02381, allocations: 349.4 kB / 489.9 MB, free: 6.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.024, allocations: 166.8 kB / 490.1 MB, free: 6.012 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.02406, allocations: 43.98 kB / 490.1 MB, free: 5.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.02412, allocations: 99.97 kB / 490.2 MB, free: 5.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.02426, allocations: 112.2 kB / 490.3 MB, free: 5.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.02447, allocations: 96.12 kB / 490.4 MB, free: 5.734 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.02467, allocations: 336.4 kB / 490.8 MB, free: 21.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.02518, allocations: 112.5 kB / 490.9 MB, free: 21.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.02572, allocations: 168.7 kB / 491 MB, free: 21.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.02675, allocations: 267 kB / 491.3 MB, free: 21.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02675, allocations: 0.875 kB / 491.3 MB, free: 21.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001438/0.02819, allocations: 403.4 kB / 491.7 MB, free: 21.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.02821, allocations: 5.438 kB / 491.7 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.02822, allocations: 1.188 kB / 491.7 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.02826, allocations: 6.938 kB / 491.7 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/0.02896, allocations: 71.72 kB / 491.8 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.02898, allocations: 10 kB / 491.8 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.02951, allocations: 49.09 kB / 491.8 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.02957, allocations: 23.72 kB / 491.8 MB, free: 20.98 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.0002421/0.02982, allocations: 153.9 kB / 492 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.02996, allocations: 40.33 kB / 492 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.03112, allocations: 360 kB / 492.4 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.03114, allocations: 13 kB / 492.4 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.03115, allocations: 5 kB / 492.4 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.03117, allocations: 7.094 kB / 492.4 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.03168, allocations: 241.1 kB / 492.6 MB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.03168, allocations: 2.719 kB / 492.6 MB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.03226, allocations: 78.88 kB / 492.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.03228, allocations: 4.625 kB / 492.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.03232, allocations: 19.69 kB / 492.8 MB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.03233, allocations: 5.5 kB / 492.8 MB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.03234, allocations: 12.84 kB / 492.8 MB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.03354, allocations: 0.5034 MB / 493.3 MB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.03379, allocations: 74.39 kB / 493.3 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.03391, allocations: 16.53 kB / 493.4 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.03436, allocations: 33.38 kB / 493.4 MB, free: 20.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.03452, allocations: 50.28 kB / 493.4 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.03458, allocations: 23.92 kB / 493.5 MB, free: 20.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001694/0.03475, allocations: 131.2 kB / 493.6 MB, free: 19.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.03475, allocations: 1.281 kB / 493.6 MB, free: 19.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001111/0.03587, allocations: 230.9 kB / 493.8 MB, free: 19.92 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.001093/0.03696, allocations: 364.7 kB / 494.2 MB, free: 19.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.03803, allocations: 321.8 kB / 494.5 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.03803, allocations: 0 / 494.5 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.03854, allocations: 171.1 kB / 494.7 MB, free: 19.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.03904, allocations: 44 kB / 494.7 MB, free: 19.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.04046, allocations: 0.5584 MB / 495.3 MB, free: 19.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.04065, allocations: 151 kB / 495.4 MB, free: 19.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.04099, allocations: 54.06 kB / 495.5 MB, free: 19.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.0412, allocations: 50.62 kB / 495.5 MB, free: 19.08 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0412, allocations: 1.344 kB / 495.5 MB, free: 19.08 MB / 426.7 MB Notification: Performance of Templates: time 0.01965/0.06085, allocations: 5.82 MB / 0.4896 GB, free: 18.41 MB / 426.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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.896013344055973]