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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.0009179, allocations: 91.75 kB / 16.67 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009832/0.0009833, allocations: 188 kB / 17.59 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7539/0.7539, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4466, allocations: 77.52 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001495/0.4482, allocations: 1.126 MB / 0.5617 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.4491, allocations: 0.5087 MB / 0.5622 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.4491, allocations: 2.031 kB / 0.5622 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.823e-05/0.4492, allocations: 7.391 kB / 0.5622 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.467e-05/0.4492, allocations: 8.844 kB / 0.5622 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.4499, allocations: 202.8 kB / 0.5624 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.4502, allocations: 133.7 kB / 0.5625 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.4502, allocations: 6.016 kB / 0.5625 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.4503, allocations: 51.47 kB / 0.5626 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.4504, allocations: 39.22 kB / 0.5626 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.4504, allocations: 4.531 kB / 0.5626 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.4507, allocations: 167.4 kB / 0.5628 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.4508, allocations: 31.16 kB / 0.5628 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.4509, allocations: 77.22 kB / 0.5629 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.4511, allocations: 157.7 kB / 0.563 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4511, allocations: 1.344 kB / 0.563 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4511, allocations: 2.5 kB / 0.563 GB, free: 34.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.4511, allocations: 0 / 0.563 GB, free: 34.71 MB / 446.1 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.0004605/0.4516, allocations: 431.6 kB / 0.5634 GB, free: 34.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4517, allocations: 14.28 kB / 0.5634 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.4517, allocations: 12.47 kB / 0.5635 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.4519, allocations: 205.9 kB / 0.5637 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4519, allocations: 10.38 kB / 0.5637 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.452, allocations: 9.953 kB / 0.5637 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.4521, allocations: 80.41 kB / 0.5638 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4521, allocations: 9.094 kB / 0.5638 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4521, allocations: 8.969 kB / 0.5638 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4521, allocations: 1 kB / 0.5638 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.879e-05/0.4522, allocations: 37.91 kB / 0.5638 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.4525, allocations: 230.8 kB / 0.564 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4526, allocations: 81.38 kB / 0.5641 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.4526, allocations: 53.03 kB / 0.5642 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.4527, allocations: 2.688 kB / 0.5642 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.4529, allocations: 108.5 kB / 0.5643 GB, free: 33.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.4529, allocations: 0 / 0.5643 GB, free: 33.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003297/0.4532, allocations: 194.3 kB / 0.5644 GB, free: 33.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.4533, allocations: 91.33 kB / 0.5645 GB, free: 33.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.4534, allocations: 151.6 kB / 0.5647 GB, free: 33.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.4534, allocations: 36.06 kB / 0.5647 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.4535, allocations: 101.4 kB / 0.5648 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.4535, allocations: 40.17 kB / 0.5648 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.4536, allocations: 22.98 kB / 0.5649 GB, free: 33.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.4536, allocations: 329.3 kB / 0.5652 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.4537, allocations: 37.41 kB / 0.5652 GB, free: 32.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.4539, allocations: 199.8 kB / 0.5654 GB, free: 32.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.4541, allocations: 97.34 kB / 0.5655 GB, free: 32.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4541, allocations: 0.9375 kB / 0.5655 GB, free: 32.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002325/0.4543, allocations: 159.9 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4543, allocations: 12.81 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.4543, allocations: 2.094 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4544, allocations: 2.922 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.202e-05/0.4544, allocations: 11.23 kB / 0.5657 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4545, allocations: 1.688 kB / 0.5657 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.4548, allocations: 92.36 kB / 0.5658 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4548, allocations: 4.297 kB / 0.5658 GB, free: 32.48 MB / 446.1 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 9.922e-05/0.4549, allocations: 139.1 kB / 0.5659 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.4549, allocations: 14.28 kB / 0.5659 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.455, allocations: 13.75 kB / 0.5659 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.455, allocations: 2.406 kB / 0.5659 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.455, allocations: 1.703 kB / 0.5659 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.455, allocations: 1.594 kB / 0.5659 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.4551, allocations: 200.2 kB / 0.5661 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4551, allocations: 9.688 kB / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.4552, allocations: 7.781 kB / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4552, allocations: 1.188 kB / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4552, allocations: 2.969 kB / 0.5662 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4552, allocations: 0.9375 kB / 0.5662 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4552, allocations: 5.531 kB / 0.5662 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.4554, allocations: 181.4 kB / 0.5663 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.4555, allocations: 90.86 kB / 0.5664 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4555, allocations: 2.094 kB / 0.5664 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.4555, allocations: 9.188 kB / 0.5664 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.4556, allocations: 6.984 kB / 0.5664 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.4556, allocations: 3.125 kB / 0.5664 GB, free: 31.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.4557, allocations: 113.9 kB / 0.5665 GB, free: 31.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4557, allocations: 0.7812 kB / 0.5665 GB, free: 31.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.456, allocations: 75.88 kB / 0.5666 GB, free: 31.8 MB / 446.1 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.0002467/0.4563, allocations: 169.2 kB / 0.5668 GB, free: 31.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.4565, allocations: 162.8 kB / 0.5669 GB, free: 31.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4565, allocations: 0 / 0.5669 GB, free: 31.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.4566, allocations: 48.94 kB / 0.567 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.4568, allocations: 12.59 kB / 0.567 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.4572, allocations: 283.6 kB / 0.5673 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.4574, allocations: 0.7086 MB / 0.568 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.4574, allocations: 12.19 kB / 0.568 GB, free: 30.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4575, allocations: 0.5 kB / 0.568 GB, free: 30.64 MB / 446.1 MB Notification: Performance of Templates: time 0.004955/0.4624, allocations: 2.416 MB / 0.5703 GB, free: 30.45 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (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)