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.001285/0.001285, allocations: 105.1 kB / 16.41 MB, free: 6.465 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: 187 kB / 17.34 MB, free: 5.715 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8761/0.8761, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 65.86 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1662, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002924/0.1691, allocations: 1.488 MB / 0.6668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1703, allocations: 0.6889 MB / 0.6675 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.1704, allocations: 0 / 0.6675 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.313e-05/0.1705, allocations: 11.86 kB / 0.6675 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.1705, allocations: 19.84 kB / 0.6675 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.1715, allocations: 346.8 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1718, allocations: 171.7 kB / 0.668 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.1718, allocations: 0 / 0.668 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.1719, allocations: 71.83 kB / 0.668 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.172, allocations: 51.75 kB / 0.6681 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.172, allocations: 12 kB / 0.6681 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.1724, allocations: 251.8 kB / 0.6683 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.1725, allocations: 39.89 kB / 0.6684 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.1726, allocations: 59.72 kB / 0.6684 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.173, allocations: 307 kB / 0.6687 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.173, allocations: 0 / 0.6687 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.173, allocations: 0 / 0.6687 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.173, allocations: 4 kB / 0.6687 GB, free: 2.281 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.0007362/0.1737, allocations: 470.5 kB / 0.6692 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1738, allocations: 9.109 kB / 0.6692 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.1738, allocations: 28.83 kB / 0.6692 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1741, allocations: 214 kB / 0.6694 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1741, allocations: 4.375 kB / 0.6694 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1741, allocations: 12.38 kB / 0.6694 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1743, allocations: 96.73 kB / 0.6695 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1744, allocations: 192 / 0.6695 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1744, allocations: 7.938 kB / 0.6695 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1744, allocations: 7.938 kB / 0.6695 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1745, allocations: 43.97 kB / 0.6696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.1748, allocations: 263.2 kB / 0.6698 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.175, allocations: 95.83 kB / 0.6699 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1751, allocations: 70.7 kB / 0.67 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1751, allocations: 4 kB / 0.67 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.1754, allocations: 139.8 kB / 0.6701 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.1754, allocations: 0 / 0.6701 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004559/0.1759, allocations: 214.2 kB / 0.6703 GB, free: 428 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.1759, allocations: 118.8 kB / 0.6705 GB, free: 284 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1761, allocations: 139.5 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.1761, allocations: 33.7 kB / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.1762, allocations: 96.77 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.1763, allocations: 55.59 kB / 0.6708 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1764, allocations: 61.69 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1765, allocations: 330.8 kB / 0.6711 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1766, allocations: 60.11 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.1769, allocations: 188.3 kB / 0.6714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1771, allocations: 126.6 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1771, allocations: 4 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003282/0.1774, allocations: 201.3 kB / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1774, allocations: 7.938 kB / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.1774, allocations: 4 kB / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1774, allocations: 0 / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1775, allocations: 19.98 kB / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1776, allocations: 0 / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1778, allocations: 51.8 kB / 0.6718 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1778, allocations: 8.234 kB / 0.6718 GB, free: 14.82 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.0001449/0.1779, allocations: 144.2 kB / 0.6719 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.178, allocations: 15.88 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.178, allocations: 12.72 kB / 0.6719 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.178, allocations: 0 / 0.6719 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.178, allocations: 4 kB / 0.672 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.178, allocations: 0 / 0.672 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.1782, allocations: 213.4 kB / 0.6722 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1782, allocations: 0 / 0.6722 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.1783, allocations: 12 kB / 0.6722 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1783, allocations: 4 kB / 0.6722 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1783, allocations: 7.984 kB / 0.6722 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1783, allocations: 7.938 kB / 0.6722 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.1783, allocations: 0 / 0.6722 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.1786, allocations: 214.6 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.1787, allocations: 96.94 kB / 0.6725 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1787, allocations: 3.984 kB / 0.6725 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.873e-05/0.1788, allocations: 11.94 kB / 0.6725 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.1789, allocations: 7.984 kB / 0.6725 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1789, allocations: 12 kB / 0.6725 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.84e-05/0.179, allocations: 108.9 kB / 0.6726 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.179, allocations: 0 / 0.6726 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003976/0.1794, allocations: 99.81 kB / 0.6727 GB, free: 13.77 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.0003661/0.1797, allocations: 203 kB / 0.6729 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.1801, allocations: 205 kB / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1801, allocations: 0 / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.642e-05/0.1802, allocations: 43.92 kB / 0.6731 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.0001883/0.1804, allocations: 10.06 kB / 0.6732 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.181, allocations: 297 kB / 0.6734 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.1814, allocations: 0.7084 MB / 0.6741 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1814, allocations: 15.44 kB / 0.6741 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1814, allocations: 0 / 0.6741 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.006001/0.1874, allocations: 3.126 MB / 0.6772 GB, free: 9.102 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)