Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_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.007051/0.007051, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001297/0.001297, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7879/0.7879, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.8 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1597, allocations: 80.92 MB / 0.6641 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002667/0.1624, allocations: 1.417 MB / 0.6655 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1634, allocations: 0.4982 MB / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.1635, allocations: 0 / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.995e-05/0.1636, allocations: 11.92 kB / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.1637, allocations: 3.938 kB / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008597/0.1646, allocations: 235 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.1648, allocations: 139.8 kB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.1649, allocations: 11.97 kB / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.165, allocations: 59.91 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.1651, allocations: 43.78 kB / 0.6665 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.1651, allocations: 12 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.1654, allocations: 167.8 kB / 0.6666 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.1655, allocations: 35.91 kB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.872e-05/0.1656, allocations: 47.8 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.166, allocations: 234.3 kB / 0.6669 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.166, allocations: 0 / 0.6669 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.166, allocations: 4 kB / 0.667 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.166, allocations: 0 / 0.667 GB, free: 3.41 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.0006222/0.1666, allocations: 451.8 kB / 0.6674 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1667, allocations: 13.11 kB / 0.6674 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.1667, allocations: 34.73 kB / 0.6674 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.1668, allocations: 12.84 kB / 0.6674 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.167, allocations: 208.1 kB / 0.6676 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1671, allocations: 8.375 kB / 0.6676 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.1671, allocations: 12.38 kB / 0.6677 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1673, allocations: 83.95 kB / 0.6677 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1673, allocations: 3.938 kB / 0.6677 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1673, allocations: 3.984 kB / 0.6677 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1673, allocations: 3.984 kB / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.1674, allocations: 39.92 kB / 0.6678 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.1677, allocations: 234.4 kB / 0.668 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1678, allocations: 81.25 kB / 0.6681 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.1679, allocations: 53.81 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.1679, allocations: 3.938 kB / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.1681, allocations: 113 kB / 0.6683 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1682, allocations: 4 kB / 0.6683 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003859/0.1685, allocations: 185.4 kB / 0.6684 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.1686, allocations: 85.11 kB / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1688, allocations: 156.1 kB / 0.6687 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.1688, allocations: 33.7 kB / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.1689, allocations: 108.4 kB / 0.6688 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.169, allocations: 27.56 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1691, allocations: 57.69 kB / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1692, allocations: 322.8 kB / 0.6692 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.1693, allocations: 43.98 kB / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1695, allocations: 203.3 kB / 0.6694 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1697, allocations: 97.62 kB / 0.6695 GB, free: 468 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1697, allocations: 3.938 kB / 0.6695 GB, free: 464 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002476/0.17, allocations: 165.3 kB / 0.6697 GB, free: 292 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.17, allocations: 4 kB / 0.6697 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.17, allocations: 4 kB / 0.6697 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.17, allocations: 0 / 0.6697 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.1701, allocations: 11.94 kB / 0.6697 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1702, allocations: 4 kB / 0.6697 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.1704, allocations: 75.75 kB / 0.6698 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1704, allocations: 7.984 kB / 0.6698 GB, free: 184 kB / 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.0001289/0.1706, allocations: 133.8 kB / 0.6699 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.1706, allocations: 15.78 kB / 0.6699 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.1706, allocations: 16.7 kB / 0.6699 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1707, allocations: 4 kB / 0.6699 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1707, allocations: 0 / 0.6699 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1707, allocations: 0 / 0.6699 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1708, allocations: 193.6 kB / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1709, allocations: 0 / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.1709, allocations: 11.94 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1709, allocations: 4 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1709, allocations: 4 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1709, allocations: 0 / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1709, allocations: 0 / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1712, allocations: 181.7 kB / 0.6703 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1712, allocations: 93.02 kB / 0.6704 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1713, allocations: 8 kB / 0.6704 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.1713, allocations: 4 kB / 0.6704 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.1714, allocations: 7.984 kB / 0.6704 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1714, allocations: 4 kB / 0.6704 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.907e-05/0.1715, allocations: 117.7 kB / 0.6705 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.493e-06/0.1715, allocations: 0 / 0.6705 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003/0.1718, allocations: 71.94 kB / 0.6706 GB, free: 15.23 MB / 0.5137 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.0006677/0.1725, allocations: 0.7822 MB / 0.6714 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1727, allocations: 164.1 kB / 0.6715 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1728, allocations: 3.938 kB / 0.6715 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.1728, allocations: 47.92 kB / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.173, allocations: 9.875 kB / 0.6716 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1749, allocations: 1.716 MB / 0.6733 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1752, allocations: 0.7079 MB / 0.674 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.1752, allocations: 4.672 kB / 0.674 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.1753, allocations: 31.42 kB / 0.674 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.1753, allocations: 4 kB / 0.674 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.1961, allocations: 3.962 MB / 0.6779 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.001, allocations: 13.48 kB / 0.6779 GB, free: 7.742 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)