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.001322/0.001322, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00128/0.00128, allocations: 201.9 kB / 16.14 MB, free: 6.641 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002573/0.002573, allocations: 290.8 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.15/1.15, allocations: 178.6 MB / 0.5068 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002783, allocations: 98.27 kB / 0.6057 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1596, allocations: 89.16 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.00272/0.1623, allocations: 1.526 MB / 0.6943 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.163, allocations: 440.5 kB / 0.6947 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.1631, allocations: 0 / 0.6947 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.1631, allocations: 7.938 kB / 0.6947 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.1632, allocations: 0 / 0.6947 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.1633, allocations: 23.92 kB / 0.6947 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.1634, allocations: 43.91 kB / 0.6948 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.1635, allocations: 15.98 kB / 0.6948 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.1636, allocations: 19.92 kB / 0.6948 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.1637, allocations: 19.92 kB / 0.6948 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1637, allocations: 4 kB / 0.6948 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.1637, allocations: 0 / 0.6948 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.1637, allocations: 19.92 kB / 0.6948 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.1638, allocations: 27.8 kB / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.081e-05/0.1639, allocations: 44.03 kB / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1639, allocations: 0 / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1639, allocations: 0 / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1639, allocations: 0 / 0.6949 GB, free: 2.648 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.0005285/0.1644, allocations: 359.5 kB / 0.6952 GB, free: 2.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1645, allocations: 8.031 kB / 0.6953 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.1645, allocations: 12.84 kB / 0.6953 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1647, allocations: 176.3 kB / 0.6954 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1647, allocations: 4.375 kB / 0.6954 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1647, allocations: 4.375 kB / 0.6954 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1648, allocations: 61.94 kB / 0.6955 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1649, allocations: 0 / 0.6955 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1649, allocations: 7.984 kB / 0.6955 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1649, allocations: 0 / 0.6955 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.317e-05/0.165, allocations: 23.98 kB / 0.6955 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.1655, allocations: 304.7 kB / 0.6958 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1656, allocations: 50.59 kB / 0.6959 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.1656, allocations: 28.91 kB / 0.6959 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.1657, allocations: 0 / 0.6959 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.1658, allocations: 75.42 kB / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1658, allocations: 0 / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000234/0.1661, allocations: 101.8 kB / 0.6961 GB, free: 1.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1661, allocations: 51.41 kB / 0.6961 GB, free: 1.223 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.1662, allocations: 109.8 kB / 0.6962 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1662, allocations: 25.8 kB / 0.6962 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.1663, allocations: 96.06 kB / 0.6963 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1663, allocations: 27.64 kB / 0.6964 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.1664, allocations: 25.72 kB / 0.6964 GB, free: 0.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1665, allocations: 322.8 kB / 0.6967 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-05/0.1666, allocations: 16 kB / 0.6967 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.1666, allocations: 47.36 kB / 0.6968 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1668, allocations: 79.53 kB / 0.6968 GB, free: 440 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1668, allocations: 0 / 0.6968 GB, free: 440 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001594/0.1669, allocations: 97.52 kB / 0.6969 GB, free: 336 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1669, allocations: 9.25 kB / 0.6969 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.167, allocations: 0 / 0.6969 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.167, allocations: 0 / 0.6969 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.167, allocations: 11.94 kB / 0.6969 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1671, allocations: 4 kB / 0.697 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.1671, allocations: 7.984 kB / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1671, allocations: 4 kB / 0.697 GB, free: 300 kB / 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 9.683e-05/0.1673, allocations: 126.5 kB / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1673, allocations: 4 kB / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.1673, allocations: 11.91 kB / 0.6971 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1673, allocations: 0 / 0.6971 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1673, allocations: 4.062 kB / 0.6971 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.1673, allocations: 3.984 kB / 0.6971 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.1678, allocations: 362.4 kB / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1678, allocations: 0 / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.1679, allocations: 4 kB / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1679, allocations: 0 / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1679, allocations: 0 / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1679, allocations: 3.938 kB / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1679, allocations: 0 / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.1681, allocations: 187.4 kB / 0.6976 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.1681, allocations: 85.05 kB / 0.6977 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1682, allocations: 4 kB / 0.6977 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.1683, allocations: 11.92 kB / 0.6977 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1683, allocations: 11.98 kB / 0.6977 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1683, allocations: 0 / 0.6977 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.1684, allocations: 79.28 kB / 0.6978 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.184e-06/0.1684, allocations: 0 / 0.6978 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002412/0.1686, allocations: 19.94 kB / 0.6978 GB, free: 15.29 MB / 0.4981 GB 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 0.0001046/0.1687, allocations: 103.2 kB / 0.6979 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1689, allocations: 56.25 kB / 0.698 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1689, allocations: 0 / 0.698 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.83e-05/0.169, allocations: 31.97 kB / 0.698 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1692, allocations: 8 kB / 0.698 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.1697, allocations: 179.2 kB / 0.6982 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.17, allocations: 0.6848 MB / 0.6989 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.1701, allocations: 4.094 kB / 0.6989 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.1701, allocations: 11.44 kB / 0.6989 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1701, allocations: 0 / 0.6989 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.003041/0.1731, allocations: 0.7024 MB / 0.6996 GB, free: 13.47 MB / 0.4981 GB 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)