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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 211.3 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 134 MB / 447.2 MB, free: 10.29 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 73.2 kB / 0.6193 GB, free: 7.277 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 85.9 MB / 0.7032 GB, free: 1.449 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.00245/0.1637, allocations: 1.441 MB / 0.7046 GB, free: 4 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.1646, allocations: 0.5021 MB / 0.7051 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.1646, allocations: 0 / 0.7051 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.977e-05/0.1647, allocations: 7.922 kB / 0.7051 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.458e-05/0.1647, allocations: 11.92 kB / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006845/0.1654, allocations: 238.2 kB / 0.7053 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1656, allocations: 155.7 kB / 0.7055 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.1657, allocations: 4 kB / 0.7055 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.1658, allocations: 55.91 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.1659, allocations: 47.83 kB / 0.7056 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.1659, allocations: 12 kB / 0.7056 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.1662, allocations: 191.8 kB / 0.7058 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.1663, allocations: 39.89 kB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.1663, allocations: 51.73 kB / 0.7059 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1667, allocations: 239.5 kB / 0.7061 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1667, allocations: 0 / 0.7061 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1667, allocations: 0 / 0.7061 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1667, allocations: 0 / 0.7061 GB, free: 14.47 MB / 0.5294 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.0005571/0.1672, allocations: 377.6 kB / 0.7064 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1673, allocations: 8.031 kB / 0.7065 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.01e-05/0.1673, allocations: 12.11 kB / 0.7065 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.1673, allocations: 34.75 kB / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.1674, allocations: 12.89 kB / 0.7065 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1676, allocations: 150.3 kB / 0.7067 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1676, allocations: 12.36 kB / 0.7067 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1676, allocations: 12.38 kB / 0.7067 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1678, allocations: 87.7 kB / 0.7068 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1678, allocations: 3.938 kB / 0.7068 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1678, allocations: 7.922 kB / 0.7068 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1678, allocations: 0 / 0.7068 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.1679, allocations: 35.98 kB / 0.7068 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.1681, allocations: 201.6 kB / 0.707 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1682, allocations: 77.14 kB / 0.7071 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.1683, allocations: 57.84 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.1683, allocations: 0 / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1685, allocations: 113 kB / 0.7072 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 8.51e-07/0.1685, allocations: 4 kB / 0.7072 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.000345/0.1689, allocations: 181.6 kB / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.1689, allocations: 92.98 kB / 0.7075 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1691, allocations: 151.3 kB / 0.7076 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.1691, allocations: 37.69 kB / 0.7077 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.1692, allocations: 104.5 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.1692, allocations: 35.73 kB / 0.7078 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.1693, allocations: 49.7 kB / 0.7079 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1694, allocations: 326.8 kB / 0.7082 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.1695, allocations: 39.98 kB / 0.7082 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.1697, allocations: 203.4 kB / 0.7084 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1699, allocations: 101.3 kB / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1699, allocations: 0 / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002356/0.1701, allocations: 165.4 kB / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1701, allocations: 4 kB / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.1702, allocations: 4 kB / 0.7087 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1702, allocations: 0 / 0.7087 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.1702, allocations: 19.98 kB / 0.7087 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1702, allocations: 0 / 0.7087 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.1705, allocations: 75.8 kB / 0.7088 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1705, allocations: 8 kB / 0.7088 GB, free: 11.43 MB / 0.5294 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.0001202/0.1706, allocations: 141.7 kB / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.1707, allocations: 7.953 kB / 0.7089 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.1707, allocations: 12.72 kB / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1707, allocations: 4 kB / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1707, allocations: 0 / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1707, allocations: 0 / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1708, allocations: 168.6 kB / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1708, allocations: 4 kB / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.1709, allocations: 4 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1709, allocations: 4 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1709, allocations: 4 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1709, allocations: 3.984 kB / 0.7091 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1709, allocations: 96 / 0.7091 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1711, allocations: 188.1 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.1711, allocations: 11.91 kB / 0.7093 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.1711, allocations: 3.938 kB / 0.7093 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.1712, allocations: 12 kB / 0.7093 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.1712, allocations: 3.984 kB / 0.7093 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1712, allocations: 4 kB / 0.7093 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.633e-05/0.1713, allocations: 113.8 kB / 0.7094 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1713, allocations: 0 / 0.7094 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002821/0.1716, allocations: 79.8 kB / 0.7095 GB, free: 10.61 MB / 0.5294 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.0006333/0.1722, allocations: 0.7848 MB / 0.7103 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1725, allocations: 155.3 kB / 0.7104 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1725, allocations: 0 / 0.7104 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.358e-05/0.1725, allocations: 35.98 kB / 0.7105 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.1727, allocations: 10.03 kB / 0.7105 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1744, allocations: 1.718 MB / 0.7121 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1747, allocations: 0.7079 MB / 0.7128 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.1747, allocations: 12.66 kB / 0.7128 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.1748, allocations: 27.42 kB / 0.7129 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1748, allocations: 0 / 0.7129 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.1984, allocations: 4.188 MB / 0.717 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.84, allocations: 2.25 kB / 0.717 GB, free: 2.988 MB / 0.5294 GB " [Timeout remaining time 649] (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 --stepSize=518.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.251563083962537] Failed to read output from testmodel.py, exit status != 0: 10.996441297931597 11.020791965 10.849847718 Calling exit ...