Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007886/0.0007886, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0007692/0.0007692, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9028/0.9028, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001677/0.001677, allocations: 237.4 kB / 260.2 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6822/0.6822, allocations: 138.4 MB / 455.1 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.561e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.2548/0.2548, allocations: 1.402 MB / 0.6489 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007398/0.2556, allocations: 470.5 kB / 0.6493 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.2556, allocations: 0 / 0.6493 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.929e-05/0.2557, allocations: 8.422 kB / 0.6493 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.2557, allocations: 14.31 kB / 0.6493 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.2563, allocations: 250.4 kB / 0.6496 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.2565, allocations: 150 kB / 0.6497 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.2565, allocations: 4.906 kB / 0.6497 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.2566, allocations: 79.5 kB / 0.6498 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.2567, allocations: 31.27 kB / 0.6498 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.2567, allocations: 10.53 kB / 0.6498 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.257, allocations: 189.9 kB / 0.65 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.257, allocations: 35.3 kB / 0.65 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.2571, allocations: 38.25 kB / 0.6501 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.2574, allocations: 274.6 kB / 0.6503 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2574, allocations: 0.9688 kB / 0.6503 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2574, allocations: 5.25 kB / 0.6503 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2574, allocations: 0.7812 kB / 0.6503 GB, free: 56.18 MB / 0.5573 GB 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.0003898/0.2578, allocations: 379.1 kB / 0.6507 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2578, allocations: 12.25 kB / 0.6507 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.2579, allocations: 13.41 kB / 0.6507 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.258, allocations: 146.2 kB / 0.6509 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.258, allocations: 9.781 kB / 0.6509 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.258, allocations: 14.09 kB / 0.6509 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.2581, allocations: 78.86 kB / 0.651 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2582, allocations: 5.219 kB / 0.651 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.2582, allocations: 5.125 kB / 0.651 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2582, allocations: 1.344 kB / 0.651 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.2582, allocations: 41.31 kB / 0.651 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.2584, allocations: 164 kB / 0.6512 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.2584, allocations: 73.86 kB / 0.6512 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.2585, allocations: 55.86 kB / 0.6513 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.2585, allocations: 5.625 kB / 0.6513 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.2587, allocations: 106.4 kB / 0.6514 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.2587, allocations: 0 / 0.6514 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.000257/0.2589, allocations: 185.5 kB / 0.6516 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.259, allocations: 93.88 kB / 0.6517 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.259, allocations: 156.4 kB / 0.6518 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2591, allocations: 34.59 kB / 0.6519 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.2591, allocations: 99.58 kB / 0.652 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.2591, allocations: 39.41 kB / 0.652 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.2592, allocations: 48.94 kB / 0.652 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.2592, allocations: 324 kB / 0.6523 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.2593, allocations: 42.17 kB / 0.6524 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.2594, allocations: 0.5985 MB / 0.653 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.2595, allocations: 101.9 kB / 0.6531 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2595, allocations: 0 / 0.6531 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001574/0.2597, allocations: 158.2 kB / 0.6532 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2597, allocations: 10.89 kB / 0.6532 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.2597, allocations: 6.531 kB / 0.6532 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2598, allocations: 4.875 kB / 0.6532 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.314e-05/0.2598, allocations: 8.594 kB / 0.6532 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2598, allocations: 2.219 kB / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.26, allocations: 84.16 kB / 0.6533 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.26, allocations: 3.844 kB / 0.6533 GB, free: 53.97 MB / 0.5573 GB 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 6.954e-05/0.26, allocations: 141.1 kB / 0.6535 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.2601, allocations: 9.172 kB / 0.6535 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.2601, allocations: 14.34 kB / 0.6535 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2601, allocations: 5.625 kB / 0.6535 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2601, allocations: 1.938 kB / 0.6535 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2601, allocations: 1.078 kB / 0.6535 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.915e-05/0.2602, allocations: 140.9 kB / 0.6536 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2602, allocations: 0 / 0.6536 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.2602, allocations: 11.17 kB / 0.6536 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2602, allocations: 1.375 kB / 0.6536 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2602, allocations: 3.969 kB / 0.6536 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.2602, allocations: 1.594 kB / 0.6537 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2602, allocations: 5.406 kB / 0.6537 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.2603, allocations: 179.9 kB / 0.6538 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.2604, allocations: 13.44 kB / 0.6538 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2604, allocations: 11.12 kB / 0.6539 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.2604, allocations: 2.75 kB / 0.6539 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.2604, allocations: 10.81 kB / 0.6539 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.2604, allocations: 3.953 kB / 0.6539 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.2605, allocations: 116.2 kB / 0.654 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2605, allocations: 1.938 kB / 0.654 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000202/0.2607, allocations: 75.55 kB / 0.6541 GB, free: 53.46 MB / 0.5573 GB 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.0001989/0.2609, allocations: 177 kB / 0.6542 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.2611, allocations: 164.7 kB / 0.6544 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2611, allocations: 0 / 0.6544 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.2611, allocations: 41.59 kB / 0.6544 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.2612, allocations: 3.422 kB / 0.6544 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.2616, allocations: 250 kB / 0.6547 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.853e-05/0.2616, allocations: 93.66 kB / 0.6547 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.2616, allocations: 15.5 kB / 0.6548 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of SimCode: time 4.1e-07/0.2616, allocations: 0.5 kB / 0.6548 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of Templates: time 0.003448/0.2651, allocations: 2.5 MB / 0.6572 GB, free: 52.76 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.302384194917977] Failed to read output from testmodel.py, exit status != 0: 0.2701548570767045 0.277859738 0.018999849000000003 Calling exit ...