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.001365/0.001365, allocations: 79.98 kB / 19.94 MB, free: 1.77 MB / 14.72 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.00141/0.00141, allocations: 169.5 kB / 23.22 MB, free: 4.887 MB / 14.72 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.382/1.382, allocations: 177.2 MB / 203.5 MB, free: 9.172 MB / 190.1 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.8963/0.8963, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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.134e-06/2.134e-06, allocations: 0 / 0.5546 GB, free: 2.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.681e-05, allocations: 8.891 kB / 0.5546 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001852/0.001878, allocations: 0.8302 MB / 0.5555 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.005249, allocations: 2.424 MB / 0.5578 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.005372, allocations: 3.938 kB / 0.5578 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.127e-05/0.005424, allocations: 11.81 kB / 0.5578 GB, free: 15.4 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.00569, allocations: 47.56 kB / 0.5579 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.007043, allocations: 0.498 MB / 0.5584 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.007477, allocations: 327 kB / 0.5587 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.007531, allocations: 9.812 kB / 0.5587 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.007945, allocations: 203.6 kB / 0.5589 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.008165, allocations: 123.7 kB / 0.559 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.008222, allocations: 24 kB / 0.559 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/0.00894, allocations: 391.5 kB / 0.5594 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.009038, allocations: 71.84 kB / 0.5595 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.009157, allocations: 87.78 kB / 0.5596 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.01018, allocations: 0.6621 MB / 0.5602 GB, free: 12.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01018, allocations: 0 / 0.5602 GB, free: 12.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01018, allocations: 0 / 0.5602 GB, free: 12.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01019, allocations: 0 / 0.5602 GB, free: 12.98 MB / 478.1 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.001473/0.01166, allocations: 0.5961 MB / 0.5608 GB, free: 12.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.01171, allocations: 8.625 kB / 0.5608 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.01279, allocations: 92.72 kB / 0.5609 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.01296, allocations: 142.2 kB / 0.561 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.01319, allocations: 226.2 kB / 0.5612 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.01324, allocations: 28.36 kB / 0.5613 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.01365, allocations: 240.3 kB / 0.5615 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.01366, allocations: 4.125 kB / 0.5615 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.01369, allocations: 20.05 kB / 0.5615 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.0137, allocations: 7.938 kB / 0.5615 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.01396, allocations: 115.8 kB / 0.5616 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.01439, allocations: 290.9 kB / 0.5619 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.01591, allocations: 483.3 kB / 0.5624 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.01615, allocations: 142.3 kB / 0.5625 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.01618, allocations: 11.98 kB / 0.5625 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000509/0.01669, allocations: 315.4 kB / 0.5628 GB, free: 9.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/0.01669, allocations: 0 / 0.5628 GB, free: 9.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009508/0.01764, allocations: 422.3 kB / 0.5632 GB, free: 9.469 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002338/0.01788, allocations: 354.1 kB / 0.5636 GB, free: 9.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.01805, allocations: 164.9 kB / 0.5637 GB, free: 8.871 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.0181, allocations: 41.7 kB / 0.5638 GB, free: 8.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.01817, allocations: 101.1 kB / 0.5638 GB, free: 8.723 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.01829, allocations: 115.1 kB / 0.564 GB, free: 8.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.01844, allocations: 102.1 kB / 0.5641 GB, free: 8.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.0186, allocations: 326.8 kB / 0.5644 GB, free: 8.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.0189, allocations: 120.9 kB / 0.5645 GB, free: 8.059 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.01924, allocations: 168.4 kB / 0.5646 GB, free: 7.883 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.01985, allocations: 268.6 kB / 0.5649 GB, free: 7.613 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01985, allocations: 128 / 0.5649 GB, free: 7.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008626/0.02072, allocations: 389.2 kB / 0.5653 GB, free: 7.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.02073, allocations: 4 kB / 0.5653 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.02074, allocations: 0 / 0.5653 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.02076, allocations: 7.938 kB / 0.5653 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.02115, allocations: 79.88 kB / 0.5654 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.02116, allocations: 4 kB / 0.5654 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.02146, allocations: 51.75 kB / 0.5654 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.02151, allocations: 19.98 kB / 0.5654 GB, free: 7.066 MB / 478.1 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.0001724/0.02168, allocations: 158.7 kB / 0.5656 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.02175, allocations: 23.86 kB / 0.5656 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.02248, allocations: 354.3 kB / 0.5659 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.02249, allocations: 12.12 kB / 0.566 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.02251, allocations: 7.984 kB / 0.566 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.02252, allocations: 7.984 kB / 0.566 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.02287, allocations: 249 kB / 0.5662 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.02287, allocations: 8 kB / 0.5662 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.02317, allocations: 71.84 kB / 0.5663 GB, free: 6.148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.02318, allocations: 8 kB / 0.5663 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.02322, allocations: 15.98 kB / 0.5663 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.02323, allocations: 4.25 kB / 0.5663 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.02323, allocations: 7.938 kB / 0.5663 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/0.02403, allocations: 496.4 kB / 0.5668 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.02419, allocations: 75.56 kB / 0.5669 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.02426, allocations: 19.98 kB / 0.5669 GB, free: 5.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.02453, allocations: 35.97 kB / 0.5669 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.02465, allocations: 55.8 kB / 0.567 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.02469, allocations: 23.98 kB / 0.567 GB, free: 5.367 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.02479, allocations: 123.2 kB / 0.5671 GB, free: 5.246 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.02479, allocations: 0 / 0.5671 GB, free: 5.246 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006237/0.02541, allocations: 231.2 kB / 0.5673 GB, free: 5.02 MB / 478.1 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.0006718/0.02609, allocations: 356.8 kB / 0.5677 GB, free: 4.664 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006783/0.02677, allocations: 311.2 kB / 0.568 GB, free: 4.363 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02677, allocations: 4 kB / 0.568 GB, free: 4.359 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.02708, allocations: 175.7 kB / 0.5681 GB, free: 4.188 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.02736, allocations: 34.52 kB / 0.5682 GB, free: 4.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.02837, allocations: 0.5413 MB / 0.5687 GB, free: 3.555 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.02853, allocations: 155.6 kB / 0.5688 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.02872, allocations: 57.83 kB / 0.5689 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.02886, allocations: 48.47 kB / 0.5689 GB, free: 3.285 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02886, allocations: 0 / 0.5689 GB, free: 3.285 MB / 478.1 MB Notification: Performance of Templates: time 0.01132/0.04018, allocations: 5.764 MB / 0.5746 GB, free: 13.57 MB / 494.1 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.274285554885864] Failed to read output from testmodel.py, exit status != 0: 0.048534344881772995 0.063349471 0.050048333 Calling exit ...