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.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/package.mo", uses=false) 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.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_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001569/0.001575, allocations: 105.1 kB / 16.41 MB, free: 6.445 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.001826/0.001826, allocations: 187 kB / 17.34 MB, free: 5.742 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7629/0.7629, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 57.03 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1694, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002875/0.1723, allocations: 1.477 MB / 0.6617 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1736, allocations: 0.6967 MB / 0.6624 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.1737, allocations: 4 kB / 0.6624 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.773e-05/0.1738, allocations: 11.86 kB / 0.6624 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.351e-05/0.1739, allocations: 15.86 kB / 0.6625 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.1749, allocations: 346.6 kB / 0.6628 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1752, allocations: 175.6 kB / 0.663 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.1752, allocations: 4 kB / 0.663 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.1753, allocations: 63.89 kB / 0.663 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.1754, allocations: 59.75 kB / 0.6631 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.1755, allocations: 12 kB / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.1758, allocations: 243.8 kB / 0.6633 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.887e-05/0.1759, allocations: 35.91 kB / 0.6634 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.176, allocations: 63.7 kB / 0.6634 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.1764, allocations: 307.3 kB / 0.6637 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1764, allocations: 3.938 kB / 0.6637 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1764, allocations: 0 / 0.6637 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.1765, allocations: 4 kB / 0.6637 GB, free: 6.781 MB / 0.4981 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.0007309/0.1772, allocations: 471 kB / 0.6642 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1773, allocations: 8.031 kB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.1773, allocations: 16.78 kB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1776, allocations: 204.2 kB / 0.6644 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1776, allocations: 8.375 kB / 0.6644 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1776, allocations: 8.375 kB / 0.6644 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1778, allocations: 108.6 kB / 0.6645 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1778, allocations: 192 / 0.6645 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1779, allocations: 7.938 kB / 0.6645 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1779, allocations: 4 kB / 0.6645 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.178, allocations: 47.89 kB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.1782, allocations: 243.4 kB / 0.6648 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1784, allocations: 119.8 kB / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.1785, allocations: 66.67 kB / 0.665 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1785, allocations: 4 kB / 0.665 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.1788, allocations: 146.2 kB / 0.6651 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.1788, allocations: 0 / 0.6651 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004159/0.1792, allocations: 213.7 kB / 0.6653 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.1793, allocations: 118.8 kB / 0.6654 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1795, allocations: 143.9 kB / 0.6656 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.1795, allocations: 37.7 kB / 0.6656 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.1796, allocations: 100.6 kB / 0.6657 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.1797, allocations: 51.34 kB / 0.6657 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.1798, allocations: 61.7 kB / 0.6658 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1799, allocations: 326.8 kB / 0.6661 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.18, allocations: 52.2 kB / 0.6662 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1802, allocations: 180.5 kB / 0.6663 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1804, allocations: 129.3 kB / 0.6665 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1804, allocations: 4 kB / 0.6665 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003011/0.1807, allocations: 204 kB / 0.6667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1808, allocations: 8 kB / 0.6667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.1808, allocations: 4 kB / 0.6667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1808, allocations: 7.984 kB / 0.6667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1809, allocations: 12 kB / 0.6667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1809, allocations: 7.938 kB / 0.6667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.1812, allocations: 47.8 kB / 0.6667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.1812, allocations: 8 kB / 0.6668 GB, free: 3.332 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.0001378/0.1813, allocations: 137 kB / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1814, allocations: 15.75 kB / 0.6669 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.1814, allocations: 20.72 kB / 0.6669 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1814, allocations: 144 / 0.6669 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1814, allocations: 7.984 kB / 0.6669 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1815, allocations: 7.922 kB / 0.6669 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.1817, allocations: 205.5 kB / 0.6671 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1817, allocations: 0 / 0.6671 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.1817, allocations: 15.92 kB / 0.6671 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1817, allocations: 4 kB / 0.6671 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1817, allocations: 0 / 0.6671 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1818, allocations: 4 kB / 0.6672 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1818, allocations: 0 / 0.6672 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1821, allocations: 225.2 kB / 0.6674 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.1821, allocations: 92.95 kB / 0.6675 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1822, allocations: 0 / 0.6675 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.1822, allocations: 7.938 kB / 0.6675 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.1823, allocations: 11.98 kB / 0.6675 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1823, allocations: 8 kB / 0.6675 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.1824, allocations: 113 kB / 0.6676 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1824, allocations: 0 / 0.6676 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003884/0.1828, allocations: 99.98 kB / 0.6677 GB, free: 2.273 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.0003621/0.1831, allocations: 191.1 kB / 0.6679 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.1835, allocations: 224.9 kB / 0.6681 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1835, allocations: 0 / 0.6681 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.1836, allocations: 51.98 kB / 0.6681 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1839, allocations: 15.92 kB / 0.6681 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.1846, allocations: 278.4 kB / 0.6684 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.185, allocations: 0.7122 MB / 0.6691 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.1851, allocations: 15.44 kB / 0.6691 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1851, allocations: 4 kB / 0.6691 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of Templates: time 0.005694/0.1908, allocations: 3.143 MB / 0.6722 GB, free: 13.59 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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 & ./IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)