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.001584/0.001584, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002072/0.002072, allocations: 216.5 kB / 22.25 MB, free: 5.082 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 8.043 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.8187/0.8187, allocations: 134 MB / 446.4 MB, free: 10.3 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.001909/0.001909, allocations: 66.55 kB / 0.6185 GB, free: 7.289 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 85.9 MB / 0.7024 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002593/0.1684, allocations: 1.518 MB / 0.7039 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1696, allocations: 0.6968 MB / 0.7046 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1696, allocations: 0 / 0.7046 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.174e-05/0.1697, allocations: 11.88 kB / 0.7046 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.775e-05/0.1697, allocations: 15.86 kB / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.1707, allocations: 358.4 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.1709, allocations: 171.6 kB / 0.7051 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.171, allocations: 4 kB / 0.7051 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.171, allocations: 75.81 kB / 0.7052 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.1711, allocations: 55.75 kB / 0.7052 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.1712, allocations: 16 kB / 0.7053 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.1716, allocations: 299.6 kB / 0.7055 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.1717, allocations: 35.91 kB / 0.7056 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.1717, allocations: 55.72 kB / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.1721, allocations: 311.3 kB / 0.7059 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1721, allocations: 0 / 0.7059 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1721, allocations: 0 / 0.7059 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1722, allocations: 0 / 0.7059 GB, free: 13.86 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.0005962/0.1728, allocations: 405.4 kB / 0.7063 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1728, allocations: 12.92 kB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.1728, allocations: 46.67 kB / 0.7064 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.1729, allocations: 12.89 kB / 0.7064 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1731, allocations: 156.5 kB / 0.7065 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1731, allocations: 4.375 kB / 0.7065 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.1732, allocations: 12.38 kB / 0.7065 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1733, allocations: 96.8 kB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1733, allocations: 3.938 kB / 0.7066 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1734, allocations: 4 kB / 0.7066 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1734, allocations: 3.938 kB / 0.7066 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.1735, allocations: 43.97 kB / 0.7067 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.1737, allocations: 218.5 kB / 0.7069 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1739, allocations: 107.8 kB / 0.707 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.174, allocations: 66.7 kB / 0.7071 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.174, allocations: 0 / 0.7071 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.1743, allocations: 146.5 kB / 0.7072 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 9.62e-07/0.1743, allocations: 0 / 0.7072 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21): time 0.0004234/0.1747, allocations: 222.1 kB / 0.7074 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.1748, allocations: 118.8 kB / 0.7075 GB, free: 12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1749, allocations: 140.3 kB / 0.7077 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1749, allocations: 33.7 kB / 0.7077 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.175, allocations: 100.6 kB / 0.7078 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.1751, allocations: 55.58 kB / 0.7078 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.1752, allocations: 61.69 kB / 0.7079 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1753, allocations: 330.8 kB / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.1754, allocations: 52.25 kB / 0.7083 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.1756, allocations: 183.8 kB / 0.7084 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1758, allocations: 130.2 kB / 0.7086 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1758, allocations: 0 / 0.7086 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002933/0.1761, allocations: 205 kB / 0.7088 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1761, allocations: 8 kB / 0.7088 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.1762, allocations: 4 kB / 0.7088 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1762, allocations: 0 / 0.7088 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.1763, allocations: 19.94 kB / 0.7088 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1763, allocations: 3.984 kB / 0.7088 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.1765, allocations: 54.23 kB / 0.7089 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1765, allocations: 4 kB / 0.7089 GB, free: 10.56 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.0001286/0.1766, allocations: 144.3 kB / 0.709 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1767, allocations: 15.89 kB / 0.709 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.1767, allocations: 12.72 kB / 0.709 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1767, allocations: 0 / 0.709 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1767, allocations: 4 kB / 0.709 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1767, allocations: 8.141 kB / 0.709 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.1769, allocations: 192.5 kB / 0.7092 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1769, allocations: 0 / 0.7092 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.177, allocations: 11.98 kB / 0.7092 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.177, allocations: 4 kB / 0.7092 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.177, allocations: 0 / 0.7092 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.177, allocations: 7.984 kB / 0.7092 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.177, allocations: 3.938 kB / 0.7092 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1773, allocations: 208 kB / 0.7094 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.1773, allocations: 19.84 kB / 0.7095 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1773, allocations: 4 kB / 0.7095 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.1774, allocations: 11.92 kB / 0.7095 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1774, allocations: 11.98 kB / 0.7095 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.1774, allocations: 4 kB / 0.7095 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.399e-05/0.1775, allocations: 107.2 kB / 0.7096 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1775, allocations: 4 kB / 0.7096 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003325/0.1778, allocations: 103.8 kB / 0.7097 GB, free: 9.625 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.0008004/0.1786, allocations: 0.8362 MB / 0.7105 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.179, allocations: 214.3 kB / 0.7107 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.179, allocations: 0 / 0.7107 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.179, allocations: 51.91 kB / 0.7108 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.1792, allocations: 14.12 kB / 0.7108 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1812, allocations: 1.823 MB / 0.7126 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1815, allocations: 0.7045 MB / 0.7132 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.406e-05/0.1815, allocations: 16.91 kB / 0.7133 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.1816, allocations: 31.44 kB / 0.7133 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.1816, allocations: 0 / 0.7133 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.2111, allocations: 4.81 MB / 0.718 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.83, allocations: 4.062 kB / 0.718 GB, free: 1.105 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.346356289999676] Failed to read output from testmodel.py, exit status != 0: 10.930828507996921 10.946068666 10.770916224 Calling exit ...