Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.0009453/0.0009453, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001222/0.001222, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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.094/1.094, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.6193/0.6193, allocations: 115 MB / 375.7 MB, free: 7.664 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.258e-05, allocations: 4.703 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001672/0.001695, allocations: 0.8614 MB / 482.4 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.004454, allocations: 2.494 MB / 484.8 MB, free: 9.738 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.004517, allocations: 1.156 kB / 484.8 MB, free: 9.738 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.004554, allocations: 16.06 kB / 484.9 MB, free: 9.727 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.004732, allocations: 47.72 kB / 484.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.005398, allocations: 0.5099 MB / 485.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.005643, allocations: 324.2 kB / 485.7 MB, free: 9.301 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.005685, allocations: 9.156 kB / 485.7 MB, free: 9.301 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.005937, allocations: 199.1 kB / 485.9 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.006066, allocations: 129.1 kB / 486.1 MB, free: 9.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.006107, allocations: 24.28 kB / 486.1 MB, free: 9.191 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004123/0.00652, allocations: 383 kB / 486.5 MB, free: 9.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.006567, allocations: 70.75 kB / 486.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.00664, allocations: 85.2 kB / 486.6 MB, free: 9.031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.007175, allocations: 0.5853 MB / 487.2 MB, free: 8.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007177, allocations: 1.25 kB / 487.2 MB, free: 8.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007178, allocations: 0 / 487.2 MB, free: 8.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.007183, allocations: 0.6875 kB / 487.2 MB, free: 8.805 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.0007628/0.007946, allocations: 0.7 MB / 487.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.007983, allocations: 10 kB / 487.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.008561, allocations: 124 kB / 488 MB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.008642, allocations: 142.3 kB / 488.2 MB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.374e-05/0.008735, allocations: 227.1 kB / 488.4 MB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.008764, allocations: 25.5 kB / 488.4 MB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.00899, allocations: 255.6 kB / 488.7 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.009, allocations: 1.219 kB / 488.7 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.009018, allocations: 6.562 kB / 488.7 MB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.009027, allocations: 3.844 kB / 488.7 MB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.009156, allocations: 86.98 kB / 488.8 MB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.009405, allocations: 322.4 kB / 489.1 MB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.01016, allocations: 0.5389 MB / 489.6 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.0103, allocations: 161.4 kB / 489.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.01032, allocations: 8.406 kB / 489.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.01058, allocations: 323.9 kB / 490.1 MB, free: 6.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.01059, allocations: 0 / 490.1 MB, free: 6.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005335/0.01112, allocations: 365.6 kB / 490.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.0112, allocations: 356.2 kB / 490.8 MB, free: 5.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.01129, allocations: 217.8 kB / 491 MB, free: 5.672 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.01132, allocations: 40.48 kB / 491.1 MB, free: 5.633 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.01144, allocations: 142.7 kB / 491.2 MB, free: 21.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.01151, allocations: 114.8 kB / 491.3 MB, free: 21.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.0116, allocations: 102 kB / 491.4 MB, free: 21.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.0117, allocations: 0.5059 MB / 491.9 MB, free: 20.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.01185, allocations: 89.42 kB / 492 MB, free: 20.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.01199, allocations: 134.3 kB / 492.1 MB, free: 20.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01226, allocations: 209.6 kB / 492.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01226, allocations: 0 / 492.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003967/0.01266, allocations: 318.8 kB / 492.6 MB, free: 20.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01267, allocations: 8.641 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.01268, allocations: 3.125 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01269, allocations: 6.656 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.01291, allocations: 91.52 kB / 492.8 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01292, allocations: 2.5 kB / 492.8 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01303, allocations: 47.56 kB / 492.8 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.01306, allocations: 20.3 kB / 492.8 MB, free: 20.5 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.0001052/0.01316, allocations: 190.8 kB / 493 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.01321, allocations: 42.95 kB / 493.1 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.0136, allocations: 323.9 kB / 493.4 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.01361, allocations: 13.12 kB / 493.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01361, allocations: 4.312 kB / 493.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.01362, allocations: 6.609 kB / 493.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.01381, allocations: 251.5 kB / 493.6 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.01382, allocations: 3.438 kB / 493.6 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.01397, allocations: 73.75 kB / 493.7 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.01398, allocations: 8.375 kB / 493.7 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.014, allocations: 15.66 kB / 493.7 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.014, allocations: 9.297 kB / 493.7 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.01401, allocations: 10.75 kB / 493.8 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.01445, allocations: 499.5 kB / 494.2 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.01455, allocations: 70.73 kB / 494.3 MB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.01458, allocations: 26.14 kB / 494.3 MB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.01468, allocations: 22.31 kB / 494.4 MB, free: 19.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.01476, allocations: 58.05 kB / 494.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.01478, allocations: 23.38 kB / 494.4 MB, free: 19.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.01485, allocations: 164.7 kB / 494.6 MB, free: 19.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01485, allocations: 1.406 kB / 494.6 MB, free: 19.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00037/0.01522, allocations: 227.6 kB / 494.8 MB, free: 19.34 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.0003741/0.01559, allocations: 372.5 kB / 495.2 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.01595, allocations: 266.5 kB / 495.4 MB, free: 19.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01595, allocations: 1.375 kB / 495.5 MB, free: 19.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.01612, allocations: 167.5 kB / 495.6 MB, free: 19.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.01631, allocations: 41.23 kB / 495.7 MB, free: 19.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.01711, allocations: 0.5632 MB / 496.2 MB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.547e-05/0.01716, allocations: 95.55 kB / 496.3 MB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.01728, allocations: 57.81 kB / 496.4 MB, free: 18.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.01737, allocations: 49.69 kB / 496.4 MB, free: 18.52 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01737, allocations: 0 / 496.4 MB, free: 18.52 MB / 426.7 MB Notification: Performance of Templates: time 0.008576/0.02595, allocations: 6.496 MB / 0.4911 GB, free: 17.59 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6593228122219443]