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.001278/0.001278, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001477/0.001477, allocations: 215.5 kB / 22.25 MB, free: 5.262 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 MB, free: 7.773 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.7982/0.7982, allocations: 134 MB / 446.4 MB, free: 9.961 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="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"}) [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.001984/0.001984, allocations: 63.31 kB / 0.6185 GB, free: 6.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1582, allocations: 85.9 MB / 0.7023 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002717/0.1609, allocations: 1.424 MB / 0.7037 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.1619, allocations: 476.7 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.162, allocations: 0 / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.354e-05/0.162, allocations: 7.938 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.678e-05/0.1621, allocations: 7.922 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007788/0.1629, allocations: 250.7 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.1631, allocations: 147.7 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.1631, allocations: 7.984 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.1632, allocations: 51.92 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.1633, allocations: 47.81 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1633, allocations: 8 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.1636, allocations: 187.8 kB / 0.7049 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.1637, allocations: 31.91 kB / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.1638, allocations: 43.86 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1641, allocations: 239.5 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1641, allocations: 0 / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1641, allocations: 0 / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.1641, allocations: 0 / 0.7052 GB, free: 14.18 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.0005824/0.1647, allocations: 377.5 kB / 0.7055 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1647, allocations: 15.97 kB / 0.7056 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1648, allocations: 38.73 kB / 0.7056 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1648, allocations: 12.89 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1651, allocations: 146.3 kB / 0.7057 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.1651, allocations: 16.38 kB / 0.7058 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1651, allocations: 8.375 kB / 0.7058 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1653, allocations: 83.94 kB / 0.7058 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1653, allocations: 7.875 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1653, allocations: 4 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1653, allocations: 0 / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.1654, allocations: 35.98 kB / 0.7059 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.1656, allocations: 181.6 kB / 0.7061 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1658, allocations: 77.14 kB / 0.7061 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.1658, allocations: 53.84 kB / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1659, allocations: 0 / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.1661, allocations: 113 kB / 0.7063 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.1661, allocations: 3.938 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0003623/0.1665, allocations: 185.5 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.1666, allocations: 89.05 kB / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1667, allocations: 156.1 kB / 0.7067 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.1667, allocations: 33.7 kB / 0.7067 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.1668, allocations: 108.4 kB / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.1669, allocations: 35.73 kB / 0.7069 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.1669, allocations: 53.7 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1671, allocations: 322.8 kB / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.1672, allocations: 39.98 kB / 0.7073 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.1676, allocations: 0.601 MB / 0.7079 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1678, allocations: 105 kB / 0.708 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1678, allocations: 0 / 0.708 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002324/0.168, allocations: 153.5 kB / 0.7081 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.168, allocations: 11.94 kB / 0.7081 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.168, allocations: 0 / 0.7081 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.168, allocations: 4 kB / 0.7081 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.1681, allocations: 12.08 kB / 0.7081 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1681, allocations: 8 kB / 0.7081 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.1684, allocations: 71.73 kB / 0.7082 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1684, allocations: 11.98 kB / 0.7082 GB, free: 10.67 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.000124/0.1685, allocations: 141.8 kB / 0.7084 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.1686, allocations: 11.89 kB / 0.7084 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.1686, allocations: 12.72 kB / 0.7084 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1686, allocations: 0 / 0.7084 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1686, allocations: 0 / 0.7084 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1686, allocations: 7.984 kB / 0.7084 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1688, allocations: 160.6 kB / 0.7085 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1688, allocations: 0 / 0.7085 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.1688, allocations: 8 kB / 0.7086 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1688, allocations: 0 / 0.7086 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1688, allocations: 4 kB / 0.7086 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1688, allocations: 0 / 0.7086 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1688, allocations: 4 kB / 0.7086 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1691, allocations: 186.4 kB / 0.7087 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.1691, allocations: 11.91 kB / 0.7087 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1691, allocations: 4 kB / 0.7088 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.1691, allocations: 0 / 0.7088 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1692, allocations: 11.98 kB / 0.7088 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1692, allocations: 4 kB / 0.7088 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.307e-05/0.1693, allocations: 113.3 kB / 0.7089 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1693, allocations: 4 kB / 0.7089 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003079/0.1696, allocations: 79.8 kB / 0.709 GB, free: 9.848 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.0006887/0.1703, allocations: 0.7896 MB / 0.7097 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1705, allocations: 159.4 kB / 0.7099 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1705, allocations: 0 / 0.7099 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.577e-05/0.1706, allocations: 35.98 kB / 0.7099 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.1708, allocations: 8 kB / 0.7099 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.1726, allocations: 1.714 MB / 0.7116 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.1727, allocations: 92.98 kB / 0.7117 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.45e-05/0.1727, allocations: 8.656 kB / 0.7117 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.1728, allocations: 31.62 kB / 0.7117 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1728, allocations: 0 / 0.7117 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.2052, allocations: 4.695 MB / 0.7163 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.01, allocations: 0 / 0.7163 GB, free: 2.344 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 sys.exit(0), Time elapsed: 14.365745059680194] Failed to read output from testmodel.py, exit status != 0: 11.118874390609562 11.14562901 10.976870527 Calling exit ...