Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008902/0.0008903, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009266/0.0009266, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8766/0.8766, allocations: 135.2 MB / 426.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 8 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1573, allocations: 82.3 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001523/0.1589, allocations: 1.108 MB / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.1596, allocations: 454.8 kB / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.1597, allocations: 0 / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.723e-05/0.1597, allocations: 3.938 kB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.1598, allocations: 11.97 kB / 0.5887 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.1604, allocations: 190.7 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1605, allocations: 83.89 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.1606, allocations: 4 kB / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.1607, allocations: 55.91 kB / 0.589 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.1607, allocations: 39.83 kB / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1608, allocations: 11.94 kB / 0.5891 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.161, allocations: 135.8 kB / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.161, allocations: 35.89 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.1611, allocations: 41.64 kB / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1613, allocations: 164 kB / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.1613, allocations: 0 / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1613, allocations: 0 / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1613, allocations: 4 kB / 0.5894 GB, free: 0.7695 MB / 494.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.0004887/0.1618, allocations: 420.5 kB / 0.5898 GB, free: 320 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1619, allocations: 12.03 kB / 0.5899 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.1619, allocations: 15.81 kB / 0.5899 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1621, allocations: 202.9 kB / 0.5901 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1622, allocations: 8 kB / 0.5901 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1622, allocations: 12 kB / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1624, allocations: 90.14 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1624, allocations: 0 / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1624, allocations: 0 / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1624, allocations: 0 / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.1625, allocations: 43.91 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.1627, allocations: 238.4 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1628, allocations: 85.17 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.1629, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.163, allocations: 109 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.1631, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003725/0.1634, allocations: 339.7 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.1635, allocations: 97.05 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1636, allocations: 151.8 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1637, allocations: 33.7 kB / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.1637, allocations: 108.5 kB / 0.5913 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.1638, allocations: 27.56 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.1638, allocations: 4 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1639, allocations: 330.8 kB / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.164, allocations: 40.17 kB / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.1642, allocations: 199.8 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.1642, allocations: 59.94 kB / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1642, allocations: 0 / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000201/0.1645, allocations: 161.3 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1645, allocations: 4 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.1645, allocations: 4 kB / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1645, allocations: 96 / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.1646, allocations: 19.91 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1646, allocations: 4 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.1649, allocations: 87.84 kB / 0.5922 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1649, allocations: 4 kB / 0.5922 GB, free: 13.58 MB / 0.4981 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 ($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.000108/0.165, allocations: 137.8 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.165, allocations: 11.81 kB / 0.5924 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.1651, allocations: 12.72 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1651, allocations: 8 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1651, allocations: 0 / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1651, allocations: 0 / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1652, allocations: 193.6 kB / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1652, allocations: 0 / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.1653, allocations: 8 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1653, allocations: 0 / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1653, allocations: 11.94 kB / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1653, allocations: 3.984 kB / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1653, allocations: 0 / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.1655, allocations: 195.4 kB / 0.5928 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1656, allocations: 88.95 kB / 0.5929 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1656, allocations: 4 kB / 0.5929 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.1657, allocations: 7.938 kB / 0.5929 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.1657, allocations: 7.984 kB / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1657, allocations: 8 kB / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.1658, allocations: 121.4 kB / 0.593 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1658, allocations: 0 / 0.593 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002721/0.1661, allocations: 75.98 kB / 0.5931 GB, free: 12.59 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001958/0.1663, allocations: 159.2 kB / 0.5932 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1665, allocations: 163.3 kB / 0.5934 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1665, allocations: 0 / 0.5934 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-05/0.1666, allocations: 43.97 kB / 0.5934 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.918e-05/0.1667, allocations: 8.25 kB / 0.5934 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.1671, allocations: 256.2 kB / 0.5937 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1673, allocations: 0.7082 MB / 0.5944 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.1674, allocations: 8.672 kB / 0.5944 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.1674, allocations: 11.44 kB / 0.5944 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1674, allocations: 0 / 0.5944 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.004655/0.1721, allocations: 2.315 MB / 0.5967 GB, free: 8.891 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) Environment - environmentSimulation: