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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006517/0.006523, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001656/0.001656, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7745/0.7745, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 63.34 kB / 0.5808 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1605, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002299/0.1628, allocations: 1.409 MB / 0.6605 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.1637, allocations: 0.4943 MB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.1637, allocations: 0 / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.694e-05/0.1638, allocations: 7.922 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.1639, allocations: 7.938 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.1645, allocations: 245.4 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1648, allocations: 143.7 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.1648, allocations: 7.984 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.1649, allocations: 51.91 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.165, allocations: 43.83 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.165, allocations: 8 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.1652, allocations: 171.8 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.1653, allocations: 31.91 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.1654, allocations: 55.78 kB / 0.6618 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1657, allocations: 239.5 kB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1657, allocations: 0 / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1657, allocations: 0 / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.1658, allocations: 0 / 0.662 GB, free: 11.13 MB / 0.4981 GB 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.0005835/0.1663, allocations: 450.7 kB / 0.6624 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1664, allocations: 8.031 kB / 0.6624 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.1664, allocations: 38.75 kB / 0.6625 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.1665, allocations: 20.84 kB / 0.6625 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1667, allocations: 220.8 kB / 0.6627 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1667, allocations: 8.312 kB / 0.6627 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1668, allocations: 12.38 kB / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1669, allocations: 75.95 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1669, allocations: 3.938 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1669, allocations: 4 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1669, allocations: 4 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.009e-05/0.167, allocations: 39.91 kB / 0.6628 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.1673, allocations: 226.6 kB / 0.6631 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1674, allocations: 81.17 kB / 0.6631 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/0.1675, allocations: 57.8 kB / 0.6632 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1675, allocations: 0 / 0.6632 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.1677, allocations: 118.9 kB / 0.6633 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.1677, allocations: 0 / 0.6633 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003352/0.1681, allocations: 193.4 kB / 0.6635 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.1681, allocations: 85.09 kB / 0.6636 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1683, allocations: 148.7 kB / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1683, allocations: 37.7 kB / 0.6637 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.1684, allocations: 104.5 kB / 0.6638 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.1684, allocations: 39.69 kB / 0.6639 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.1685, allocations: 53.69 kB / 0.6639 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1687, allocations: 322.8 kB / 0.6642 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.1687, allocations: 39.98 kB / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.169, allocations: 204.3 kB / 0.6645 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1691, allocations: 104.6 kB / 0.6646 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1691, allocations: 0 / 0.6646 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002379/0.1694, allocations: 157.5 kB / 0.6647 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1694, allocations: 5.719 kB / 0.6647 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.1694, allocations: 11.98 kB / 0.6647 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1694, allocations: 0 / 0.6647 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.1695, allocations: 11.94 kB / 0.6648 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1695, allocations: 0 / 0.6648 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.1698, allocations: 71.86 kB / 0.6648 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.1698, allocations: 8 kB / 0.6648 GB, free: 7.898 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 (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.0001247/0.1699, allocations: 137.8 kB / 0.665 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.17, allocations: 11.89 kB / 0.665 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.17, allocations: 12.72 kB / 0.665 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.17, allocations: 3.984 kB / 0.665 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.17, allocations: 0 / 0.665 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.17, allocations: 11.94 kB / 0.665 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1702, allocations: 193.5 kB / 0.6652 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1702, allocations: 0 / 0.6652 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.1702, allocations: 7.984 kB / 0.6652 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1702, allocations: 7.938 kB / 0.6652 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1703, allocations: 4 kB / 0.6652 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1703, allocations: 4 kB / 0.6652 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1703, allocations: 4 kB / 0.6652 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1705, allocations: 177.8 kB / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1706, allocations: 89.02 kB / 0.6655 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1706, allocations: 0 / 0.6655 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.1706, allocations: 11.92 kB / 0.6655 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1707, allocations: 8 kB / 0.6655 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1707, allocations: 4 kB / 0.6655 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.432e-05/0.1708, allocations: 107.2 kB / 0.6656 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1708, allocations: 0 / 0.6656 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002779/0.1711, allocations: 83.8 kB / 0.6657 GB, free: 6.93 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 (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.0006799/0.1717, allocations: 0.7843 MB / 0.6664 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.172, allocations: 164.1 kB / 0.6666 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.172, allocations: 0 / 0.6666 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.1721, allocations: 48.11 kB / 0.6666 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1722, allocations: 4 kB / 0.6666 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1739, allocations: 1.727 MB / 0.6683 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.1744, allocations: 0.7119 MB / 0.669 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.1744, allocations: 8.672 kB / 0.669 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.1745, allocations: 31.42 kB / 0.6691 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1745, allocations: 0 / 0.6691 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.2069, allocations: 3.96 MB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.832, allocations: 10.08 kB / 0.6729 GB, free: 15.47 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)