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.0008378/0.0008378, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0008548/0.0008548, allocations: 173 kB / 23.03 MB, free: 1.539 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.8676/0.8676, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001656/0.001656, allocations: 245.9 kB / 260.2 MB, free: 12.82 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.6583/0.6583, allocations: 138.4 MB / 455.2 MB, free: 1.559 MB / 362.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.993e-06/1.993e-06, allocations: 0 / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.296e-05/4.495e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002876/0.002921, allocations: 1.466 MB / 0.5565 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004056, allocations: 498.1 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.004098, allocations: 0 / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.004214, allocations: 7.922 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.004295, allocations: 15.88 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.005271, allocations: 239.3 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.005532, allocations: 143.7 kB / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.005581, allocations: 8 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.00572, allocations: 83.86 kB / 0.5575 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.005815, allocations: 27.95 kB / 0.5575 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.005853, allocations: 15.98 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.006198, allocations: 183.7 kB / 0.5577 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.006274, allocations: 43.89 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.006347, allocations: 35.92 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.006785, allocations: 247.3 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.006788, allocations: 0 / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006789, allocations: 0 / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.006795, allocations: 0 / 0.558 GB, free: 13.59 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.0006319/0.007426, allocations: 475.9 kB / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.007473, allocations: 16.73 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.007544, allocations: 16.84 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.007762, allocations: 162.9 kB / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.007779, allocations: 4.375 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.00781, allocations: 16.38 kB / 0.5586 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.007953, allocations: 65.61 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.007965, allocations: 192 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.007977, allocations: 4.375 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.007985, allocations: 384 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.008043, allocations: 23.86 kB / 0.5587 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.008265, allocations: 172.4 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.008385, allocations: 74.09 kB / 0.559 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.008451, allocations: 47.53 kB / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.008458, allocations: 0 / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.008629, allocations: 100.3 kB / 0.5591 GB, free: 12.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.00863, allocations: 4 kB / 0.5591 GB, free: 12.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002277/0.008858, allocations: 125.5 kB / 0.5592 GB, free: 12.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.008902, allocations: 85.11 kB / 0.5593 GB, free: 12.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.009017, allocations: 205.8 kB / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.009038, allocations: 33.7 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.009092, allocations: 151.2 kB / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.00913, allocations: 35.7 kB / 0.5597 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.009187, allocations: 63.34 kB / 0.5598 GB, free: 11.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.009306, allocations: 0.4923 MB / 0.5603 GB, free: 11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.009341, allocations: 27.92 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.009587, allocations: 0.5913 MB / 0.5609 GB, free: 10.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.009666, allocations: 75.19 kB / 0.5609 GB, free: 10.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009668, allocations: 0 / 0.5609 GB, free: 10.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000118/0.009786, allocations: 125.5 kB / 0.5611 GB, free: 10 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.009798, allocations: 8 kB / 0.5611 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.009814, allocations: 0 / 0.5611 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.009825, allocations: 7.938 kB / 0.5611 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.009894, allocations: 19.92 kB / 0.5611 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.0099, allocations: 8 kB / 0.5611 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01001, allocations: 47.7 kB / 0.5611 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.01002, allocations: 4 kB / 0.5611 GB, free: 9.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.836e-05/0.0101, allocations: 180.6 kB / 0.5613 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.01011, allocations: 11.95 kB / 0.5613 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.01013, allocations: 16.78 kB / 0.5613 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.01014, allocations: 3.938 kB / 0.5614 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.01014, allocations: 0 / 0.5614 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01014, allocations: 3.938 kB / 0.5614 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.515e-05/0.01023, allocations: 148.5 kB / 0.5615 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01023, allocations: 0 / 0.5615 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.01024, allocations: 11.98 kB / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.01025, allocations: 0 / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.01025, allocations: 0 / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01025, allocations: 4 kB / 0.5615 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01026, allocations: 4.562 kB / 0.5615 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.01038, allocations: 152.1 kB / 0.5617 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.01039, allocations: 11.91 kB / 0.5617 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.0104, allocations: 3.938 kB / 0.5617 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.01042, allocations: 7.984 kB / 0.5617 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.01046, allocations: 7.938 kB / 0.5617 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.01047, allocations: 4 kB / 0.5617 GB, free: 9.281 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.065e-05/0.01052, allocations: 153.3 kB / 0.5618 GB, free: 9.133 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 0.5618 GB, free: 9.133 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000187/0.01071, allocations: 75.81 kB / 0.5619 GB, free: 9.059 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.0001793/0.01089, allocations: 186.4 kB / 0.5621 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.01105, allocations: 131 kB / 0.5622 GB, free: 8.723 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01105, allocations: 4 kB / 0.5622 GB, free: 8.719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.362e-05/0.01109, allocations: 35.61 kB / 0.5623 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.0112, allocations: 4 kB / 0.5623 GB, free: 8.676 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.01155, allocations: 214.5 kB / 0.5625 GB, free: 8.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.01159, allocations: 71.33 kB / 0.5625 GB, free: 8.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.488e-05/0.01161, allocations: 4.734 kB / 0.5625 GB, free: 8.332 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.01163, allocations: 20.5 kB / 0.5626 GB, free: 8.312 MB / 490.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01164, allocations: 0 / 0.5626 GB, free: 8.312 MB / 490.7 MB Notification: Performance of Templates: time 0.004273/0.01591, allocations: 2.921 MB / 0.5654 GB, free: 5.434 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2836583028547466]