Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001038/0.001038, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 279 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9405/0.9405, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 89.41 kB / 0.5947 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1505, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.00251/0.1531, allocations: 1.531 MB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006483/0.1538, allocations: 429.6 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.1538, allocations: 0 / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.1539, allocations: 3.938 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.259e-05/0.1539, allocations: 8.516 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1541, allocations: 20.7 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.751e-05/0.1542, allocations: 47.91 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.1543, allocations: 13.5 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.1543, allocations: 23.86 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.1544, allocations: 29.23 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1544, allocations: 4 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.1544, allocations: 4 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.1544, allocations: 11.94 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1545, allocations: 28.58 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.336e-05/0.1546, allocations: 40.05 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1546, allocations: 4 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1546, allocations: 0 / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1546, allocations: 0 / 0.6817 GB, free: 14.87 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004599/0.1551, allocations: 363.4 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1551, allocations: 8.031 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1551, allocations: 12.84 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1553, allocations: 172.4 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1553, allocations: 4.375 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1553, allocations: 12.31 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1554, allocations: 61.98 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1554, allocations: 0 / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1555, allocations: 0 / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1555, allocations: 0 / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.1555, allocations: 27.98 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.156, allocations: 300.7 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.1561, allocations: 54.56 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.1561, allocations: 28.94 kB / 0.6827 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1562, allocations: 0 / 0.6827 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.1563, allocations: 71.42 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1563, allocations: 4 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002147/0.1565, allocations: 97.89 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.1566, allocations: 55.41 kB / 0.683 GB, free: 13.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.1567, allocations: 105.9 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1567, allocations: 33.8 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.1567, allocations: 84.08 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1568, allocations: 31.62 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.1568, allocations: 25.72 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.1569, allocations: 326.8 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.157, allocations: 23.92 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.157, allocations: 39.44 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.1571, allocations: 71.39 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1571, allocations: 0 / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001289/0.1573, allocations: 97.55 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1573, allocations: 8 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1573, allocations: 0 / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1573, allocations: 0 / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.1574, allocations: 8 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1574, allocations: 4 kB / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.1575, allocations: 15.89 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1575, allocations: 4 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001148/0.1576, allocations: 123 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.1576, allocations: 8.031 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.1577, allocations: 12.02 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1577, allocations: 4 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1577, allocations: 0 / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1577, allocations: 0 / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.158, allocations: 362.3 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1581, allocations: 0 / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.1581, allocations: 8 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1581, allocations: 4 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1581, allocations: 0 / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1581, allocations: 3.938 kB / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1581, allocations: 0 / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.1583, allocations: 183.5 kB / 0.6845 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.1583, allocations: 85.02 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1583, allocations: 3.984 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.1584, allocations: 7.938 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.1585, allocations: 19.92 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1585, allocations: 3.938 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.348e-05/0.1585, allocations: 83.36 kB / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1585, allocations: 4 kB / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1588, allocations: 15.98 kB / 0.6847 GB, free: 11.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 8.656e-05/0.1589, allocations: 99.25 kB / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.159, allocations: 55.92 kB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.159, allocations: 4.062 kB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.035e-05/0.1591, allocations: 31.92 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.1593, allocations: 5.547 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.1597, allocations: 173.6 kB / 0.685 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.1599, allocations: 0.6898 MB / 0.6857 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.837e-05/0.16, allocations: 11.92 kB / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.16, allocations: 11.44 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.16, allocations: 0 / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of Templates: time 0.002662/0.1627, allocations: 0.728 MB / 0.6865 GB, free: 9.645 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)