Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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.0007861/0.0007861, allocations: 84.44 kB / 20.69 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.000815/0.000815, allocations: 165.9 kB / 23.96 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.8561/0.8561, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.5462/0.5462, allocations: 114 MB / 374.7 MB, free: 8.719 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.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.5554 GB, free: 1.27 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.513e-05, allocations: 10.75 kB / 0.5554 GB, free: 1.262 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001672/0.001697, allocations: 1.41 MB / 0.5568 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005609/0.002258, allocations: 462.2 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.002289, allocations: 4 kB / 0.5572 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.378e-05/0.002363, allocations: 3.938 kB / 0.5572 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/0.002415, allocations: 19.84 kB / 0.5572 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.002979, allocations: 242.6 kB / 0.5575 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.003137, allocations: 139.8 kB / 0.5576 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.003177, allocations: 8 kB / 0.5576 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.003255, allocations: 83.86 kB / 0.5577 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.003318, allocations: 35.91 kB / 0.5577 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.003339, allocations: 8 kB / 0.5577 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.003544, allocations: 187.7 kB / 0.5579 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.0036, allocations: 43.89 kB / 0.5579 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.003647, allocations: 31.92 kB / 0.558 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.003903, allocations: 275.3 kB / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003906, allocations: 0 / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003907, allocations: 3.938 kB / 0.5582 GB, free: 14.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.00391, allocations: 4 kB / 0.5582 GB, free: 14.32 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004224/0.004333, allocations: 373.6 kB / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.004367, allocations: 12.62 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.004409, allocations: 12.89 kB / 0.5586 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.004811, allocations: 152 kB / 0.5588 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.004822, allocations: 8.312 kB / 0.5588 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.004842, allocations: 20.36 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.004965, allocations: 87.33 kB / 0.5589 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.004974, allocations: 4.125 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.004982, allocations: 384 / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.004986, allocations: 384 / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.005044, allocations: 39.92 kB / 0.5589 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.005188, allocations: 162.2 kB / 0.5591 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.005269, allocations: 77.19 kB / 0.5591 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.005317, allocations: 49.81 kB / 0.5592 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.005327, allocations: 3.984 kB / 0.5592 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.005462, allocations: 101.1 kB / 0.5593 GB, free: 13.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 8.51e-07/0.005463, allocations: 4 kB / 0.5593 GB, free: 13.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002452/0.005708, allocations: 181.5 kB / 0.5595 GB, free: 12.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.00575, allocations: 89.05 kB / 0.5596 GB, free: 12.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.005835, allocations: 153.7 kB / 0.5597 GB, free: 12.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.005854, allocations: 41.7 kB / 0.5597 GB, free: 12.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.005899, allocations: 104.5 kB / 0.5598 GB, free: 12.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.00593, allocations: 31.75 kB / 0.5599 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.00598, allocations: 53.62 kB / 0.5599 GB, free: 12.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.006055, allocations: 330.8 kB / 0.5602 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.006103, allocations: 43.98 kB / 0.5603 GB, free: 12.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.006336, allocations: 0.5924 MB / 0.5609 GB, free: 11.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/0.006434, allocations: 93.64 kB / 0.5609 GB, free: 11.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006437, allocations: 4 kB / 0.5609 GB, free: 11.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001499/0.006586, allocations: 159.8 kB / 0.5611 GB, free: 11.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006598, allocations: 5.875 kB / 0.5611 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.006616, allocations: 11.94 kB / 0.5611 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.006628, allocations: 3.938 kB / 0.5611 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.006684, allocations: 11.98 kB / 0.5611 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.006688, allocations: 0 / 0.5611 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.006834, allocations: 75.86 kB / 0.5612 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.006843, allocations: 8 kB / 0.5612 GB, free: 10.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.663e-05/0.006919, allocations: 137.7 kB / 0.5613 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.006931, allocations: 11.91 kB / 0.5614 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.006951, allocations: 16.78 kB / 0.5614 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.006954, allocations: 3.938 kB / 0.5614 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.006958, allocations: 4 kB / 0.5614 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.006962, allocations: 4.078 kB / 0.5614 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.368e-05/0.007036, allocations: 133.3 kB / 0.5615 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.007036, allocations: 0 / 0.5615 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.007052, allocations: 4 kB / 0.5615 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.007055, allocations: 11.92 kB / 0.5615 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.007062, allocations: 0 / 0.5615 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007063, allocations: 0 / 0.5615 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007064, allocations: 3.938 kB / 0.5615 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.007207, allocations: 185.7 kB / 0.5617 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.007215, allocations: 7.953 kB / 0.5617 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.00723, allocations: 4 kB / 0.5617 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.007252, allocations: 4 kB / 0.5617 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.007286, allocations: 15.92 kB / 0.5617 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.00729, allocations: 0 / 0.5617 GB, free: 10.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.304e-05/0.007343, allocations: 117.7 kB / 0.5618 GB, free: 10.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.007343, allocations: 0 / 0.5618 GB, free: 10.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.007532, allocations: 79.8 kB / 0.5619 GB, free: 10.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001941/0.007726, allocations: 167.1 kB / 0.5621 GB, free: 9.945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.007904, allocations: 163.3 kB / 0.5622 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007906, allocations: 0 / 0.5622 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.007945, allocations: 39.92 kB / 0.5623 GB, free: 9.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.008061, allocations: 8 kB / 0.5623 GB, free: 9.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.008378, allocations: 260.3 kB / 0.5625 GB, free: 9.438 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.694e-05/0.008435, allocations: 89.83 kB / 0.5626 GB, free: 9.324 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.008455, allocations: 12.5 kB / 0.5626 GB, free: 9.312 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008455, allocations: 0 / 0.5626 GB, free: 9.312 MB / 490.7 MB Notification: Performance of Templates: time 0.002767/0.01122, allocations: 2.502 MB / 0.5651 GB, free: 6.836 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.808362798765302] Failed to read output from testmodel.py, exit status != 0: 0.01582859270274639 0.023384001 0.017923506000000002 Calling exit ...