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.007421/0.007421, allocations: 101.6 kB / 15.73 MB, free: 6.008 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.001427/0.001427, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8243/0.8243, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 66.61 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002745/0.1682, allocations: 1.473 MB / 0.6661 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1693, allocations: 0.7045 MB / 0.6667 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.1693, allocations: 0 / 0.6667 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.14e-05/0.1694, allocations: 11.86 kB / 0.6668 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.1695, allocations: 15.86 kB / 0.6668 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.1705, allocations: 338.7 kB / 0.6671 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1707, allocations: 175.6 kB / 0.6673 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.1707, allocations: 7.984 kB / 0.6673 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.1708, allocations: 67.88 kB / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.1709, allocations: 55.77 kB / 0.6674 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1709, allocations: 12 kB / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.1713, allocations: 243.8 kB / 0.6676 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.1714, allocations: 39.89 kB / 0.6677 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1715, allocations: 59.72 kB / 0.6677 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.1719, allocations: 307.3 kB / 0.668 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1719, allocations: 3.938 kB / 0.668 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1719, allocations: 0 / 0.668 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.1719, allocations: 8 kB / 0.668 GB, free: 2.309 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.000715/0.1726, allocations: 467 kB / 0.6685 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1727, allocations: 9.109 kB / 0.6685 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.1728, allocations: 16.75 kB / 0.6685 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.173, allocations: 204.2 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1731, allocations: 12.31 kB / 0.6687 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1731, allocations: 8.375 kB / 0.6687 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1733, allocations: 106.3 kB / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1733, allocations: 192 / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1733, allocations: 7.938 kB / 0.6688 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1733, allocations: 4 kB / 0.6688 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-05/0.1734, allocations: 43.91 kB / 0.6689 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.1737, allocations: 247.3 kB / 0.6691 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.1739, allocations: 119.8 kB / 0.6692 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.174, allocations: 70.66 kB / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.174, allocations: 4 kB / 0.6693 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.1742, allocations: 139.7 kB / 0.6694 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.1742, allocations: 0 / 0.6694 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004246/0.1747, allocations: 217.5 kB / 0.6696 GB, free: 460 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.1748, allocations: 118.8 kB / 0.6697 GB, free: 316 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1749, allocations: 139.8 kB / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1749, allocations: 37.7 kB / 0.6699 GB, free: 124 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.175, allocations: 100.7 kB / 0.67 GB, free: 20 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.1751, allocations: 55.42 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/0.1752, allocations: 65.69 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1753, allocations: 322.8 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.1754, allocations: 56.19 kB / 0.6705 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.1756, allocations: 176.5 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1758, allocations: 126.5 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1758, allocations: 4 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002773/0.1761, allocations: 213.1 kB / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1761, allocations: 7.984 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.1762, allocations: 4 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1762, allocations: 4 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.1763, allocations: 15.94 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1763, allocations: 0 / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.1765, allocations: 51.78 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1765, allocations: 8 kB / 0.6711 GB, free: 14.85 MB / 0.5137 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.0001187/0.1767, allocations: 133.4 kB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.1767, allocations: 11.84 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.1767, allocations: 24.7 kB / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1767, allocations: 0 / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1767, allocations: 4 kB / 0.6712 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1768, allocations: 7.938 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1769, allocations: 213.4 kB / 0.6714 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1769, allocations: 0 / 0.6714 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.177, allocations: 8 kB / 0.6715 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.177, allocations: 4 kB / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.177, allocations: 0 / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.177, allocations: 4 kB / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.177, allocations: 0 / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1773, allocations: 226.4 kB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1774, allocations: 88.95 kB / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1774, allocations: 0 / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.1774, allocations: 11.92 kB / 0.6718 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.1775, allocations: 11.98 kB / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.1775, allocations: 8 kB / 0.6718 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.099e-05/0.1776, allocations: 103.3 kB / 0.6719 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1776, allocations: 0 / 0.6719 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000334/0.1779, allocations: 99.98 kB / 0.672 GB, free: 13.81 MB / 0.5137 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.0002977/0.1782, allocations: 205.8 kB / 0.6722 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.1786, allocations: 222 kB / 0.6724 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1786, allocations: 0 / 0.6724 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1787, allocations: 67.98 kB / 0.6725 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.1789, allocations: 9.562 kB / 0.6725 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.1793, allocations: 244.6 kB / 0.6727 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1796, allocations: 0.7083 MB / 0.6734 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.1797, allocations: 12.88 kB / 0.6734 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.1797, allocations: 23.44 kB / 0.6734 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1797, allocations: 0 / 0.6734 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.006043/0.1858, allocations: 3.082 MB / 0.6764 GB, free: 9.184 MB / 0.5137 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)