Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004397/0.004403, allocations: 356.5 kB / 16.59 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.752/1.752, allocations: 165.8 MB / 183.1 MB, free: 5.363 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.141/4.141, allocations: 410.7 MB / 0.6001 GB, free: 15.35 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001806/0.001805, allocations: 205.8 kB / 0.6668 GB, free: 6.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004804, allocations: 8 kB / 0.7429 GB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4321, allocations: 67.43 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001646/0.4338, allocations: 1.121 MB / 0.8098 GB, free: 27.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.4348, allocations: 451.9 kB / 0.8103 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.4349, allocations: 0 / 0.8103 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.469e-05/0.435, allocations: 3.938 kB / 0.8103 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.435, allocations: 15.92 kB / 0.8103 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.4359, allocations: 185.3 kB / 0.8105 GB, free: 27.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.4361, allocations: 123.7 kB / 0.8106 GB, free: 26.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.4362, allocations: 4 kB / 0.8106 GB, free: 26.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.4362, allocations: 47.91 kB / 0.8106 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.4363, allocations: 43.84 kB / 0.8107 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.4364, allocations: 8 kB / 0.8107 GB, free: 26.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.4367, allocations: 143.8 kB / 0.8108 GB, free: 26.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.4368, allocations: 35.89 kB / 0.8108 GB, free: 26.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.4369, allocations: 41.7 kB / 0.8109 GB, free: 26.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.4371, allocations: 161.8 kB / 0.811 GB, free: 26.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4371, allocations: 0 / 0.811 GB, free: 26.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4372, allocations: 0 / 0.811 GB, free: 26.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4372, allocations: 0 / 0.811 GB, free: 26.45 MB / 378.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.0005789/0.4378, allocations: 434.8 kB / 0.8115 GB, free: 25.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4378, allocations: 8.031 kB / 0.8115 GB, free: 25.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.4379, allocations: 15.81 kB / 0.8115 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.4381, allocations: 196.7 kB / 0.8117 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.4382, allocations: 12 kB / 0.8117 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.4382, allocations: 8 kB / 0.8117 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.4384, allocations: 91.27 kB / 0.8118 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4385, allocations: 3.984 kB / 0.8118 GB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4385, allocations: 4 kB / 0.8118 GB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4385, allocations: 11.88 kB / 0.8118 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.4386, allocations: 35.98 kB / 0.8118 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.4389, allocations: 234.5 kB / 0.812 GB, free: 25.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.439, allocations: 81.08 kB / 0.8121 GB, free: 25.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.4392, allocations: 61.84 kB / 0.8122 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.4392, allocations: 0 / 0.8122 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.4394, allocations: 107.9 kB / 0.8123 GB, free: 24.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.4394, allocations: 0 / 0.8123 GB, free: 24.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004344/0.4399, allocations: 189.9 kB / 0.8125 GB, free: 24.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.4399, allocations: 81.11 kB / 0.8125 GB, free: 24.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4401, allocations: 156.5 kB / 0.8127 GB, free: 24.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.4401, allocations: 37.64 kB / 0.8127 GB, free: 24.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.4402, allocations: 104.5 kB / 0.8128 GB, free: 24.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.4403, allocations: 35.55 kB / 0.8129 GB, free: 24.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.4403, allocations: 0 / 0.8129 GB, free: 24.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4404, allocations: 326.8 kB / 0.8132 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4406, allocations: 44.17 kB / 0.8132 GB, free: 23.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.4409, allocations: 195.8 kB / 0.8134 GB, free: 23.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.4411, allocations: 71.83 kB / 0.8135 GB, free: 23.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.4411, allocations: 0 / 0.8135 GB, free: 23.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003847/0.4415, allocations: 157.4 kB / 0.8136 GB, free: 23.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4415, allocations: 7.953 kB / 0.8136 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.4416, allocations: 4 kB / 0.8136 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4416, allocations: 0 / 0.8136 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4417, allocations: 11.98 kB / 0.8136 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4418, allocations: 4.156 kB / 0.8136 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.4423, allocations: 83.91 kB / 0.8137 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4424, allocations: 11.92 kB / 0.8137 GB, free: 23.38 MB / 378.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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.4425, allocations: 137.8 kB / 0.8139 GB, free: 23.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.4425, allocations: 11.81 kB / 0.8139 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.4426, allocations: 16.67 kB / 0.8139 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4426, allocations: 0 / 0.8139 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4426, allocations: 3.984 kB / 0.8139 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.4427, allocations: 92.95 kB / 0.814 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.4427, allocations: 4 kB / 0.814 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.4428, allocations: 4 kB / 0.814 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.4428, allocations: 8.078 kB / 0.814 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003488/0.4432, allocations: 304.1 kB / 0.8143 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003147/0.4435, allocations: 405.9 kB / 0.8147 GB, free: 22.36 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.947e-05/0.4436, allocations: 43.92 kB / 0.8147 GB, free: 22.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.495e-05/0.4437, allocations: 111.2 kB / 0.8148 GB, free: 22.2 MB / 378.7 MB Notification: Performance of Backend: time 9.61e-07/0.4437, allocations: 0 / 0.8148 GB, free: 22.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008994/0.4446, allocations: 261.7 kB / 0.8151 GB, free: 21.93 MB / 378.7 MB Notification: Performance of SimCode: time 0.0005491/0.4452, allocations: 0.6624 MB / 0.8157 GB, free: 21.22 MB / 378.7 MB Notification: Performance of Templates: time 0.007068/0.4523, allocations: 2.382 MB / 0.8181 GB, free: 18.87 MB / 378.7 MB