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.001964/0.001964, allocations: 88.17 kB / 20.21 MB, free: 4.207 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.002204/0.002204, allocations: 165.2 kB / 23.53 MB, free: 0.8906 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.016/1.016, allocations: 115 MB / 375.3 MB, free: 7.578 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.655e-06/2.655e-06, allocations: 0 / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.305e-05, allocations: 3.188 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.002369/0.002402, allocations: 0.8529 MB / 481.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.006207, allocations: 2.467 MB / 484.1 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.006319, allocations: 1.094 kB / 484.1 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.006365, allocations: 16.88 kB / 484.1 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.00664, allocations: 52.31 kB / 484.1 MB, free: 9.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.008226, allocations: 0.4977 MB / 484.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.008797, allocations: 323.8 kB / 485 MB, free: 9.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.008878, allocations: 12.7 kB / 485 MB, free: 9.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.009446, allocations: 204.4 kB / 485.2 MB, free: 9.191 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.009718, allocations: 126.9 kB / 485.3 MB, free: 9.156 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.009802, allocations: 23.19 kB / 485.3 MB, free: 9.156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009303/0.01073, allocations: 384.4 kB / 485.7 MB, free: 9.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.01081, allocations: 74.62 kB / 485.8 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.01094, allocations: 82.36 kB / 485.8 MB, free: 8.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.01214, allocations: 0.66 MB / 486.5 MB, free: 8.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.01215, allocations: 4.562 kB / 486.5 MB, free: 8.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.01215, allocations: 0.625 kB / 486.5 MB, free: 8.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.01216, allocations: 0.9375 kB / 486.5 MB, free: 8.758 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.001803/0.01396, allocations: 0.7025 MB / 487.2 MB, free: 8.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.01402, allocations: 9.031 kB / 487.2 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.01563, allocations: 132.7 kB / 487.4 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.01577, allocations: 133.4 kB / 487.5 MB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.01595, allocations: 238.5 kB / 487.7 MB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.01603, allocations: 18.72 kB / 487.7 MB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.01649, allocations: 272.6 kB / 488 MB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.01651, allocations: 1 kB / 488 MB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.01655, allocations: 14.31 kB / 488 MB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01656, allocations: 4.344 kB / 488 MB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.0169, allocations: 117.1 kB / 488.1 MB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.01737, allocations: 337.8 kB / 488.5 MB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.01941, allocations: 0.5867 MB / 489 MB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.01971, allocations: 186.2 kB / 489.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.01976, allocations: 12.41 kB / 489.2 MB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/0.02034, allocations: 360 kB / 489.6 MB, free: 6.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.316e-06/0.02034, allocations: 0 / 489.6 MB, free: 6.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001389/0.02173, allocations: 438.2 kB / 490 MB, free: 6.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.02184, allocations: 352.1 kB / 490.4 MB, free: 5.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.02204, allocations: 239 kB / 490.6 MB, free: 5.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.02209, allocations: 41.8 kB / 490.6 MB, free: 5.441 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.0223, allocations: 144.8 kB / 490.8 MB, free: 21.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.02242, allocations: 123.2 kB / 490.9 MB, free: 21.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.02264, allocations: 113.5 kB / 491 MB, free: 21.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003714/0.02301, allocations: 0.5085 MB / 491.5 MB, free: 20.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.02345, allocations: 115 kB / 491.6 MB, free: 20.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.02395, allocations: 181.8 kB / 491.8 MB, free: 20.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/0.02489, allocations: 289.6 kB / 492.1 MB, free: 20.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.0249, allocations: 0 / 492.1 MB, free: 20.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001376/0.02627, allocations: 398.6 kB / 492.5 MB, free: 20.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.0263, allocations: 5.125 kB / 492.5 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.02631, allocations: 1.312 kB / 492.5 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.02633, allocations: 7.875 kB / 492.5 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/0.02712, allocations: 87.45 kB / 492.6 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.02713, allocations: 7.406 kB / 492.6 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.02762, allocations: 44.25 kB / 492.6 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.02768, allocations: 19.89 kB / 492.7 MB, free: 20.2 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.0002545/0.02794, allocations: 202.9 kB / 492.9 MB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.02808, allocations: 37.39 kB / 492.9 MB, free: 19.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.02918, allocations: 360.1 kB / 493.2 MB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.02919, allocations: 12.56 kB / 493.3 MB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.0292, allocations: 4.812 kB / 493.3 MB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.02922, allocations: 6.984 kB / 493.3 MB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.02969, allocations: 259.9 kB / 493.5 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.02969, allocations: 3.812 kB / 493.5 MB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.03025, allocations: 77.39 kB / 493.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.03026, allocations: 5.688 kB / 493.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.03032, allocations: 19.12 kB / 493.6 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.03033, allocations: 10.69 kB / 493.6 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.03033, allocations: 11.12 kB / 493.6 MB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.03155, allocations: 0.5524 MB / 494.2 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.03179, allocations: 72.25 kB / 494.3 MB, free: 19.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.03187, allocations: 21.19 kB / 494.3 MB, free: 19.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.03224, allocations: 27.75 kB / 494.3 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.03241, allocations: 56.72 kB / 494.4 MB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/0.03247, allocations: 21.8 kB / 494.4 MB, free: 19.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.03267, allocations: 175.1 kB / 494.6 MB, free: 19.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03267, allocations: 0 / 494.6 MB, free: 19.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001033/0.0337, allocations: 233.6 kB / 494.8 MB, free: 18.97 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.0009179/0.03462, allocations: 359.8 kB / 495.1 MB, free: 18.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.03572, allocations: 344.8 kB / 495.5 MB, free: 18.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.03573, allocations: 1.906 kB / 495.5 MB, free: 18.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.03615, allocations: 193.8 kB / 495.7 MB, free: 18.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.03664, allocations: 50.36 kB / 495.7 MB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.03809, allocations: 0.5969 MB / 496.3 MB, free: 18.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.03827, allocations: 151.8 kB / 496.5 MB, free: 18.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003275/0.0386, allocations: 62.03 kB / 496.5 MB, free: 18.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.03879, allocations: 50.25 kB / 496.6 MB, free: 18.07 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03879, allocations: 1.344 kB / 496.6 MB, free: 18.07 MB / 426.7 MB Notification: Performance of Templates: time 0.01962/0.05842, allocations: 5.861 MB / 0.4907 GB, free: 17.4 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.817503464058973]