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.0007414/0.0007414, allocations: 84.44 kB / 20.7 MB, free: 3.871 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.000791/0.000791, allocations: 169.9 kB / 23.97 MB, free: 0.5977 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.8904/0.8904, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.5778/0.5778, allocations: 114 MB / 374.7 MB, free: 8.715 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.673e-06/1.673e-06, allocations: 0 / 0.5554 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.129e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001212/0.001233, allocations: 0.8375 MB / 0.5562 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.003286, allocations: 2.42 MB / 0.5586 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.00335, allocations: 0 / 0.5586 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.003387, allocations: 15.75 kB / 0.5586 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.003561, allocations: 47.56 kB / 0.5586 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.004233, allocations: 0.5019 MB / 0.5591 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.004468, allocations: 319 kB / 0.5594 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.004516, allocations: 9.812 kB / 0.5594 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.004768, allocations: 207.6 kB / 0.5596 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.004901, allocations: 123.7 kB / 0.5598 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.004935, allocations: 28 kB / 0.5598 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.005345, allocations: 383.5 kB / 0.5601 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.005394, allocations: 67.83 kB / 0.5602 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.005465, allocations: 91.78 kB / 0.5603 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.006035, allocations: 0.6621 MB / 0.5609 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006036, allocations: 0 / 0.5609 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.11e-07/0.006037, allocations: 0 / 0.5609 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.006042, allocations: 0 / 0.5609 GB, free: 12.59 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.0008044/0.006846, allocations: 0.6039 MB / 0.5615 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.00688, allocations: 8.625 kB / 0.5615 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/0.007393, allocations: 88.77 kB / 0.5616 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.007484, allocations: 146.1 kB / 0.5618 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.007619, allocations: 234.2 kB / 0.562 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.007648, allocations: 16.38 kB / 0.562 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.007894, allocations: 244.3 kB / 0.5622 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.007904, allocations: 192 / 0.5622 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.007922, allocations: 12.11 kB / 0.5623 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.007928, allocations: 4 kB / 0.5623 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.008093, allocations: 111.7 kB / 0.5624 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.008351, allocations: 294.9 kB / 0.5626 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.00912, allocations: 479.3 kB / 0.5631 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.009264, allocations: 146.3 kB / 0.5632 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.009295, allocations: 15.98 kB / 0.5633 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.009595, allocations: 311.6 kB / 0.5636 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.093e-06/0.009597, allocations: 7.984 kB / 0.5636 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.0005852/0.01018, allocations: 416.9 kB / 0.564 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.0103, allocations: 354.1 kB / 0.5643 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.0104, allocations: 163.2 kB / 0.5645 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.01043, allocations: 41.7 kB / 0.5645 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.01047, allocations: 105.1 kB / 0.5646 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.01054, allocations: 111.1 kB / 0.5647 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.01064, allocations: 102.1 kB / 0.5648 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.01072, allocations: 327.3 kB / 0.5651 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.0109, allocations: 120.9 kB / 0.5652 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.0111, allocations: 168.3 kB / 0.5654 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.01146, allocations: 269.1 kB / 0.5656 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.01146, allocations: 0 / 0.5656 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004844/0.01195, allocations: 372.1 kB / 0.566 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01196, allocations: 8 kB / 0.566 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01197, allocations: 0 / 0.566 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01199, allocations: 11.94 kB / 0.566 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.01219, allocations: 79.81 kB / 0.5661 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.0122, allocations: 4 kB / 0.5661 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01233, allocations: 51.75 kB / 0.5661 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.01235, allocations: 20.98 kB / 0.5662 GB, free: 6.688 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.000119/0.01247, allocations: 145.7 kB / 0.5663 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.01251, allocations: 31.86 kB / 0.5663 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.01295, allocations: 363 kB / 0.5667 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.01296, allocations: 11.94 kB / 0.5667 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01297, allocations: 7.938 kB / 0.5667 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.01298, allocations: 8 kB / 0.5667 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.01319, allocations: 249 kB / 0.5669 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01319, allocations: 4 kB / 0.5669 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.01333, allocations: 67.91 kB / 0.567 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01333, allocations: 8 kB / 0.567 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.01335, allocations: 15.98 kB / 0.567 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.01336, allocations: 8 kB / 0.567 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01336, allocations: 11.88 kB / 0.5671 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.01383, allocations: 488.4 kB / 0.5675 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.01394, allocations: 75.61 kB / 0.5676 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.01397, allocations: 20 kB / 0.5676 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.01409, allocations: 31.97 kB / 0.5676 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.01416, allocations: 51.86 kB / 0.5677 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.01418, allocations: 24.23 kB / 0.5677 GB, free: 5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.203e-05/0.01425, allocations: 123.2 kB / 0.5678 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01425, allocations: 3.938 kB / 0.5678 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003644/0.01461, allocations: 231.2 kB / 0.5681 GB, free: 4.648 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.0003847/0.015, allocations: 361.2 kB / 0.5684 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.01542, allocations: 327.2 kB / 0.5687 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01542, allocations: 4 kB / 0.5687 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.0156, allocations: 163.7 kB / 0.5689 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.01579, allocations: 36.62 kB / 0.5689 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.01643, allocations: 0.577 MB / 0.5695 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.438e-05/0.01653, allocations: 151.7 kB / 0.5696 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.01662, allocations: 48.48 kB / 0.5697 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.01662, allocations: 0 / 0.5697 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.005742/0.02236, allocations: 5.675 MB / 0.5752 GB, free: 13.27 MB / 0.5417 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.875558624975383] Failed to read output from testmodel.py, exit status != 0: 0.026755903847515583 0.03412752799999994 0.026578336999999938 Calling exit ...