Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.001306/0.001306, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001588/0.001588, allocations: 211.6 kB / 22.24 MB, free: 5.242 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.801 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.7987/0.7987, allocations: 134 MB / 446.4 MB, free: 9.93 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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.002316/0.002316, allocations: 71.92 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1652, allocations: 85.91 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00267/0.1679, allocations: 1.473 MB / 0.7038 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1691, allocations: 0.652 MB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.1691, allocations: 4 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.97e-05/0.1692, allocations: 11.86 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.1693, allocations: 15.86 kB / 0.7045 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009731/0.1702, allocations: 353.8 kB / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1705, allocations: 175.6 kB / 0.705 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.1705, allocations: 4 kB / 0.705 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.1706, allocations: 67.89 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1707, allocations: 47.77 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.1707, allocations: 12 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.1712, allocations: 283.6 kB / 0.7054 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.1712, allocations: 35.91 kB / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.1713, allocations: 51.77 kB / 0.7054 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.1717, allocations: 311.3 kB / 0.7057 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1717, allocations: 0 / 0.7057 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1717, allocations: 4 kB / 0.7057 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1717, allocations: 0 / 0.7057 GB, free: 13.61 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006265/0.1723, allocations: 405.4 kB / 0.7061 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1724, allocations: 8.031 kB / 0.7061 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.1724, allocations: 42.73 kB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1725, allocations: 8.891 kB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1727, allocations: 162.2 kB / 0.7063 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1727, allocations: 8.375 kB / 0.7064 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1728, allocations: 8.375 kB / 0.7064 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1729, allocations: 96.8 kB / 0.7065 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.173, allocations: 11.88 kB / 0.7065 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.173, allocations: 0 / 0.7065 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.173, allocations: 0 / 0.7065 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.926e-05/0.1731, allocations: 51.91 kB / 0.7065 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.1733, allocations: 194.5 kB / 0.7067 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1735, allocations: 103.9 kB / 0.7068 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.1736, allocations: 62.66 kB / 0.7069 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.1736, allocations: 4 kB / 0.7069 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.1739, allocations: 147.2 kB / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 1.002e-06/0.1739, allocations: 4 kB / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21): time 0.0004031/0.1743, allocations: 205.5 kB / 0.7072 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.1744, allocations: 122.7 kB / 0.7073 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1745, allocations: 140.1 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.1745, allocations: 37.7 kB / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.1746, allocations: 104.6 kB / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.1747, allocations: 51.59 kB / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.1748, allocations: 61.69 kB / 0.7077 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1749, allocations: 322.8 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.175, allocations: 56.25 kB / 0.7081 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.1754, allocations: 467.2 kB / 0.7085 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.1756, allocations: 134.4 kB / 0.7086 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1756, allocations: 0 / 0.7086 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003051/0.1759, allocations: 204.2 kB / 0.7088 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1759, allocations: 4 kB / 0.7088 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.1759, allocations: 8 kB / 0.7088 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1759, allocations: 0 / 0.7088 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.176, allocations: 19.92 kB / 0.7089 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.176, allocations: 0.9375 kB / 0.7089 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1763, allocations: 51.84 kB / 0.7089 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1763, allocations: 8 kB / 0.7089 GB, free: 9.988 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001435/0.1764, allocations: 140.3 kB / 0.709 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1765, allocations: 15.89 kB / 0.7091 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.1765, allocations: 16.72 kB / 0.7091 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1765, allocations: 4.141 kB / 0.7091 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1765, allocations: 0 / 0.7091 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1765, allocations: 3.984 kB / 0.7091 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1767, allocations: 184.5 kB / 0.7093 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1767, allocations: 0 / 0.7093 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.1767, allocations: 16 kB / 0.7093 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1767, allocations: 0 / 0.7093 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1767, allocations: 4 kB / 0.7093 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1767, allocations: 0 / 0.7093 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.1768, allocations: 3.984 kB / 0.7093 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.177, allocations: 210.6 kB / 0.7095 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.1771, allocations: 19.84 kB / 0.7095 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1771, allocations: 0 / 0.7095 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.1771, allocations: 11.92 kB / 0.7095 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.1772, allocations: 11.98 kB / 0.7095 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1772, allocations: 8 kB / 0.7095 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.172e-05/0.1773, allocations: 109.4 kB / 0.7096 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1773, allocations: 0 / 0.7096 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003521/0.1776, allocations: 103.8 kB / 0.7097 GB, free: 9.07 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008/0.1784, allocations: 0.8466 MB / 0.7106 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.1788, allocations: 205 kB / 0.7108 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1788, allocations: 0 / 0.7108 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.1789, allocations: 51.91 kB / 0.7108 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.179, allocations: 11.94 kB / 0.7108 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1811, allocations: 1.837 MB / 0.7126 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.619e-05/0.1812, allocations: 88.62 kB / 0.7127 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.718e-05/0.1812, allocations: 12.97 kB / 0.7127 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.1813, allocations: 31.44 kB / 0.7127 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1813, allocations: 0 / 0.7127 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.2153, allocations: 5.295 MB / 0.7179 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.24, allocations: 0 / 0.7179 GB, free: 0.6914 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.679879468865693] Failed to read output from testmodel.py, exit status != 0: 11.345742913894355 11.36973949 11.193597352 Calling exit ...