Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008313/0.008313, allocations: 105.5 kB / 15.74 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.001516/0.001516, allocations: 194.4 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7938/0.7938, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 69.3 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 80.92 MB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002412/0.1734, allocations: 1.465 MB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1745, allocations: 0.7007 MB / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.1745, allocations: 0 / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.498e-05/0.1746, allocations: 7.922 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.568e-05/0.1747, allocations: 15.86 kB / 0.6667 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.1756, allocations: 354.5 kB / 0.6671 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1758, allocations: 167.7 kB / 0.6672 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.1759, allocations: 7.984 kB / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.1759, allocations: 59.91 kB / 0.6673 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.176, allocations: 59.75 kB / 0.6674 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.1761, allocations: 12 kB / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.1764, allocations: 247.7 kB / 0.6676 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.1765, allocations: 39.91 kB / 0.6677 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.1766, allocations: 63.7 kB / 0.6677 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.1769, allocations: 299.4 kB / 0.668 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.177, allocations: 0 / 0.668 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.177, allocations: 0 / 0.668 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.177, allocations: 0 / 0.668 GB, free: 2.34 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.0006392/0.1776, allocations: 482.9 kB / 0.6685 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1777, allocations: 13.05 kB / 0.6685 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.1777, allocations: 20.75 kB / 0.6685 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.178, allocations: 214 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.178, allocations: 8.375 kB / 0.6687 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.178, allocations: 8.375 kB / 0.6687 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1782, allocations: 96.8 kB / 0.6688 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1782, allocations: 4.125 kB / 0.6688 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1782, allocations: 3.938 kB / 0.6688 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.1783, allocations: 4 kB / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.1784, allocations: 43.97 kB / 0.6689 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.1786, allocations: 251.3 kB / 0.6691 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1788, allocations: 107.8 kB / 0.6692 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1789, allocations: 74.7 kB / 0.6693 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1789, allocations: 11.94 kB / 0.6693 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.1791, allocations: 139.8 kB / 0.6694 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.1792, allocations: 0 / 0.6694 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004268/0.1796, allocations: 218 kB / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/0.1797, allocations: 126.8 kB / 0.6697 GB, free: 316 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1798, allocations: 135.5 kB / 0.6699 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.1799, allocations: 37.69 kB / 0.6699 GB, free: 128 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.1799, allocations: 96.7 kB / 0.67 GB, free: 28 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.18, allocations: 51.27 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.1801, allocations: 61.69 kB / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1802, allocations: 330.8 kB / 0.6704 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.1803, allocations: 48.27 kB / 0.6705 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.1806, allocations: 184.5 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1808, allocations: 130.5 kB / 0.6708 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1808, allocations: 8 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002799/0.1811, allocations: 193.3 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1811, allocations: 8 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.1811, allocations: 4 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1811, allocations: 0 / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.1812, allocations: 23.92 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1813, allocations: 3.938 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1814, allocations: 47.8 kB / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1815, allocations: 4 kB / 0.671 GB, free: 14.88 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.0001229/0.1816, allocations: 149.3 kB / 0.6712 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.1816, allocations: 11.84 kB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.1817, allocations: 12.72 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1817, allocations: 0 / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1817, allocations: 7.938 kB / 0.6712 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1817, allocations: 144 / 0.6712 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1819, allocations: 221.4 kB / 0.6714 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1819, allocations: 0 / 0.6714 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.1819, allocations: 15.98 kB / 0.6714 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1819, allocations: 4 kB / 0.6715 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1819, allocations: 0 / 0.6715 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.182, allocations: 8 kB / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.182, allocations: 0 / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1822, allocations: 210.4 kB / 0.6717 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1823, allocations: 96.94 kB / 0.6718 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1823, allocations: 8 kB / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.857e-05/0.1824, allocations: 7.938 kB / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1824, allocations: 11.98 kB / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1824, allocations: 4 kB / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.005e-05/0.1825, allocations: 109 kB / 0.6719 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1825, allocations: 0 / 0.6719 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003301/0.1829, allocations: 99.98 kB / 0.672 GB, free: 13.82 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.0003059/0.1832, allocations: 203.1 kB / 0.6722 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.1835, allocations: 213 kB / 0.6724 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1835, allocations: 0 / 0.6724 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.1836, allocations: 59.92 kB / 0.6724 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.1838, allocations: 8 kB / 0.6724 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.1843, allocations: 252.6 kB / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1846, allocations: 0.7084 MB / 0.6734 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.1846, allocations: 12.88 kB / 0.6734 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.1847, allocations: 15.38 kB / 0.6734 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1847, allocations: 4 kB / 0.6734 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.006197/0.1909, allocations: 3.1 MB / 0.6764 GB, free: 9.188 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)