Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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: translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005044/0.005044, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001109/0.001109, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 60.22 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1631, allocations: 80.93 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00277/0.1659, allocations: 1.534 MB / 0.5858 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1671, allocations: 0.7359 MB / 0.5866 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.1671, allocations: 0 / 0.5866 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.081e-05/0.1672, allocations: 7.984 kB / 0.5866 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.1673, allocations: 7.875 kB / 0.5866 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007965/0.1681, allocations: 294.9 kB / 0.5868 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1683, allocations: 163.6 kB / 0.587 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.1684, allocations: 7.984 kB / 0.587 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.1684, allocations: 55.84 kB / 0.5871 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.1685, allocations: 55.75 kB / 0.5871 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1686, allocations: 4 kB / 0.5871 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.1689, allocations: 243.8 kB / 0.5874 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.169, allocations: 35.91 kB / 0.5874 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.1691, allocations: 55.7 kB / 0.5874 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1693, allocations: 211.9 kB / 0.5876 GB, free: 1.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1694, allocations: 0 / 0.5876 GB, free: 1.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1694, allocations: 0 / 0.5876 GB, free: 1.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1694, allocations: 0 / 0.5876 GB, free: 1.578 MB / 494.1 MB 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.0006198/0.17, allocations: 482.9 kB / 0.5881 GB, free: 1.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.17, allocations: 8.031 kB / 0.5881 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.1701, allocations: 20.78 kB / 0.5881 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1703, allocations: 214.2 kB / 0.5883 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1703, allocations: 4.375 kB / 0.5883 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.1704, allocations: 12.38 kB / 0.5884 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1706, allocations: 96.73 kB / 0.5884 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1706, allocations: 4.188 kB / 0.5884 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1706, allocations: 3.938 kB / 0.5885 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1706, allocations: 4 kB / 0.5885 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1707, allocations: 43.97 kB / 0.5885 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.171, allocations: 251.3 kB / 0.5887 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1712, allocations: 107.8 kB / 0.5888 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.1713, allocations: 78.64 kB / 0.5889 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.1713, allocations: 0 / 0.5889 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.1716, allocations: 137.3 kB / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.1716, allocations: 4 kB / 0.5891 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004099/0.172, allocations: 214.1 kB / 0.5893 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.1721, allocations: 118.8 kB / 0.5894 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1722, allocations: 143.4 kB / 0.5895 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.1722, allocations: 41.7 kB / 0.5895 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.1723, allocations: 92.7 kB / 0.5896 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.1724, allocations: 59.28 kB / 0.5897 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.1725, allocations: 61.69 kB / 0.5897 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1726, allocations: 334.8 kB / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.1727, allocations: 44.27 kB / 0.5901 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.1729, allocations: 181.1 kB / 0.5903 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1731, allocations: 133 kB / 0.5904 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1731, allocations: 0 / 0.5904 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002915/0.1734, allocations: 201.4 kB / 0.5906 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1734, allocations: 4 kB / 0.5906 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.1734, allocations: 4 kB / 0.5906 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1735, allocations: 4 kB / 0.5906 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.1736, allocations: 15.92 kB / 0.5906 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1736, allocations: 12 kB / 0.5906 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.1738, allocations: 50.89 kB / 0.5907 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1738, allocations: 12 kB / 0.5907 GB, free: 14.11 MB / 0.4981 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.0001165/0.1739, allocations: 136 kB / 0.5908 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.174, allocations: 19.75 kB / 0.5908 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.174, allocations: 12.72 kB / 0.5909 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.174, allocations: 4 kB / 0.5909 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.174, allocations: 0 / 0.5909 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.174, allocations: 7.922 kB / 0.5909 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.1742, allocations: 209.4 kB / 0.5911 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1742, allocations: 8 kB / 0.5911 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.1743, allocations: 11.98 kB / 0.5911 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1743, allocations: 0 / 0.5911 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1743, allocations: 8 kB / 0.5911 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1743, allocations: 0 / 0.5911 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1743, allocations: 4.078 kB / 0.5911 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.1746, allocations: 214.6 kB / 0.5913 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.1747, allocations: 92.91 kB / 0.5914 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1747, allocations: 4 kB / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.1747, allocations: 7.938 kB / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.1748, allocations: 11.98 kB / 0.5914 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1748, allocations: 4 kB / 0.5914 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.838e-05/0.1749, allocations: 109.4 kB / 0.5915 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1749, allocations: 0 / 0.5915 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003487/0.1753, allocations: 103.9 kB / 0.5916 GB, free: 13.06 MB / 0.4981 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.0002988/0.1756, allocations: 203.1 kB / 0.5918 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.1759, allocations: 221 kB / 0.592 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1759, allocations: 0 / 0.592 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.176, allocations: 51.92 kB / 0.5921 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.1762, allocations: 8 kB / 0.5921 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.1767, allocations: 304.2 kB / 0.5924 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.177, allocations: 0.7126 MB / 0.5931 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.177, allocations: 19.38 kB / 0.5931 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.177, allocations: 0 / 0.5931 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.005102/0.1821, allocations: 3.093 MB / 0.5961 GB, free: 8.414 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)