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.001653/0.001653, allocations: 92.7 kB / 19.44 MB, free: 324 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.00165/0.00165, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.496/1.496, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.002583/0.002583, allocations: 239.8 kB / 259.8 MB, free: 12.86 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 1.085/1.085, allocations: 138.5 MB / 454.7 MB, free: 1.484 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.663e-06/1.663e-06, allocations: 0 / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.367e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002699/0.002722, allocations: 1.42 MB / 0.5557 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.00373, allocations: 470.2 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.003764, allocations: 0 / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.455e-05/0.003839, allocations: 11.94 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.003897, allocations: 7.922 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.004758, allocations: 239.2 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.005016, allocations: 151.7 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.074e-05/0.005047, allocations: 4 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.005184, allocations: 79.88 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.005269, allocations: 31.95 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.005302, allocations: 16 kB / 0.5566 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.005672, allocations: 191.6 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.005743, allocations: 35.97 kB / 0.5569 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.005819, allocations: 39.91 kB / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.006268, allocations: 271.3 kB / 0.5572 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.00627, allocations: 4 kB / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006271, allocations: 0 / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.006275, allocations: 0 / 0.5572 GB, free: 13.94 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.0006361/0.006911, allocations: 381.5 kB / 0.5575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.006944, allocations: 8.75 kB / 0.5575 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.007019, allocations: 16.89 kB / 0.5576 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.007245, allocations: 149.6 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.00726, allocations: 4.375 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.00729, allocations: 8.375 kB / 0.5577 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.007474, allocations: 83.89 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.007484, allocations: 4.172 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.007499, allocations: 12.31 kB / 0.5578 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.007503, allocations: 384 / 0.5578 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.007595, allocations: 35.92 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.007832, allocations: 154.2 kB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.007971, allocations: 85.17 kB / 0.5581 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.008064, allocations: 53.81 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.008074, allocations: 0 / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.008299, allocations: 117 kB / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.0083, allocations: 0 / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004382/0.008739, allocations: 185.5 kB / 0.5584 GB, free: 12.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.008809, allocations: 85.11 kB / 0.5585 GB, free: 12.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.008972, allocations: 156.3 kB / 0.5586 GB, free: 12.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.009016, allocations: 33.7 kB / 0.5587 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.648e-05/0.009103, allocations: 100.5 kB / 0.5588 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.009157, allocations: 43.69 kB / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.009248, allocations: 49.69 kB / 0.5589 GB, free: 12.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.009437, allocations: 326.8 kB / 0.5592 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.009519, allocations: 43.98 kB / 0.5592 GB, free: 11.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.01006, allocations: 0.5963 MB / 0.5598 GB, free: 10.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.01023, allocations: 97.58 kB / 0.5599 GB, free: 10.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01023, allocations: 0 / 0.5599 GB, free: 10.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003409/0.01057, allocations: 169.4 kB / 0.56 GB, free: 10.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01059, allocations: 4 kB / 0.56 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.01061, allocations: 4 kB / 0.5601 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.01063, allocations: 7.938 kB / 0.5601 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.0107, allocations: 12 kB / 0.5601 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01071, allocations: 7.922 kB / 0.5601 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.01102, allocations: 79.8 kB / 0.5602 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01103, allocations: 4 kB / 0.5602 GB, free: 10.5 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 0.0001379/0.01117, allocations: 133.8 kB / 0.5603 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.0112, allocations: 11.95 kB / 0.5603 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.01123, allocations: 12.78 kB / 0.5603 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.01123, allocations: 3.938 kB / 0.5603 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01124, allocations: 0 / 0.5603 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01124, allocations: 0 / 0.5603 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.0114, allocations: 141.2 kB / 0.5604 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.0114, allocations: 0 / 0.5604 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.01144, allocations: 12 kB / 0.5605 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01144, allocations: 3.938 kB / 0.5605 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01145, allocations: 3.984 kB / 0.5605 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01146, allocations: 4 kB / 0.5605 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01146, allocations: 3.938 kB / 0.5605 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.01174, allocations: 177.9 kB / 0.5606 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.01176, allocations: 11.91 kB / 0.5607 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.01178, allocations: 7.938 kB / 0.5607 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.01183, allocations: 4 kB / 0.5607 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.01188, allocations: 11.92 kB / 0.5607 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01188, allocations: 4 kB / 0.5607 GB, free: 9.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.01199, allocations: 115.2 kB / 0.5608 GB, free: 9.797 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01199, allocations: 0 / 0.5608 GB, free: 9.797 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003571/0.01234, allocations: 75.86 kB / 0.5609 GB, free: 9.723 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.0003113/0.01265, allocations: 186 kB / 0.561 GB, free: 9.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.01295, allocations: 164.1 kB / 0.5612 GB, free: 9.359 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01295, allocations: 0 / 0.5612 GB, free: 9.359 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/0.01304, allocations: 39.98 kB / 0.5612 GB, free: 9.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.01322, allocations: 10.52 kB / 0.5612 GB, free: 9.312 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.0137, allocations: 241.9 kB / 0.5615 GB, free: 9.043 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.01381, allocations: 93.11 kB / 0.5616 GB, free: 8.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.01385, allocations: 4.734 kB / 0.5616 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.01389, allocations: 20.48 kB / 0.5616 GB, free: 8.902 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01389, allocations: 0 / 0.5616 GB, free: 8.902 MB / 490.7 MB Notification: Performance of Templates: time 0.006757/0.02064, allocations: 2.705 MB / 0.5642 GB, free: 6.246 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5317254239926115]