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.001024/0.001024, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.0009852/0.0009853, allocations: 199.3 kB / 17.3 MB, free: 5.516 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 287.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.912/0.912, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 93.61 kB / 0.5966 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1462, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002445/0.1487, allocations: 1.463 MB / 0.683 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.1493, allocations: 442.9 kB / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.1493, allocations: 0 / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.1494, allocations: 7.922 kB / 0.6834 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.1495, allocations: 7.922 kB / 0.6834 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1496, allocations: 23.92 kB / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.1497, allocations: 43.91 kB / 0.6835 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.1498, allocations: 27.97 kB / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.1498, allocations: 19.88 kB / 0.6836 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.1499, allocations: 19.91 kB / 0.6836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1499, allocations: 4 kB / 0.6836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.1499, allocations: 4 kB / 0.6836 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1499, allocations: 19.92 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.15, allocations: 15.94 kB / 0.6836 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.7e-05/0.1501, allocations: 51.73 kB / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1501, allocations: 0 / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1501, allocations: 0 / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1501, allocations: 4 kB / 0.6837 GB, free: 5.305 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.000453/0.1506, allocations: 359.4 kB / 0.684 GB, free: 4.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.1506, allocations: 8.031 kB / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.1506, allocations: 4.938 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1508, allocations: 172.2 kB / 0.6842 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.1508, allocations: 384 / 0.6842 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1508, allocations: 8.375 kB / 0.6842 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1509, allocations: 61.98 kB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1509, allocations: 3.938 kB / 0.6843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.1509, allocations: 4 kB / 0.6843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1509, allocations: 0 / 0.6843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.012e-05/0.151, allocations: 31.92 kB / 0.6843 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1514, allocations: 292.8 kB / 0.6846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.328e-05/0.1515, allocations: 54.56 kB / 0.6846 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.1516, allocations: 28.98 kB / 0.6847 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.1516, allocations: 4 kB / 0.6847 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.1517, allocations: 75.28 kB / 0.6847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.765e-06/0.1518, allocations: 3.984 kB / 0.6847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001929/0.152, allocations: 97.61 kB / 0.6848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.152, allocations: 55.41 kB / 0.6849 GB, free: 3.883 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.1521, allocations: 105.8 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1521, allocations: 37.7 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.1521, allocations: 88.06 kB / 0.6851 GB, free: 3.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1522, allocations: 23.66 kB / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1522, allocations: 29.7 kB / 0.6851 GB, free: 3.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.1523, allocations: 318.8 kB / 0.6855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/0.1524, allocations: 19.98 kB / 0.6855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.348e-05/0.1524, allocations: 56.06 kB / 0.6855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.842e-05/0.1525, allocations: 71.36 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1525, allocations: 0 / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001256/0.1526, allocations: 85.62 kB / 0.6857 GB, free: 3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1527, allocations: 8 kB / 0.6857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1527, allocations: 0 / 0.6857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1527, allocations: 0 / 0.6857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.1528, allocations: 11.98 kB / 0.6857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1528, allocations: 12.34 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.1528, allocations: 11.91 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1529, allocations: 4 kB / 0.6857 GB, free: 2.953 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 8.739e-05/0.1529, allocations: 121.8 kB / 0.6858 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.153, allocations: 7.938 kB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.153, allocations: 7.969 kB / 0.6859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.153, allocations: 0 / 0.6859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.153, allocations: 0 / 0.6859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.153, allocations: 4 kB / 0.6859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.1534, allocations: 362.3 kB / 0.6862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1534, allocations: 0 / 0.6862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.1534, allocations: 7.984 kB / 0.6862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1534, allocations: 0 / 0.6862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1534, allocations: 7.938 kB / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1535, allocations: 3.938 kB / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1535, allocations: 0 / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.1536, allocations: 179.8 kB / 0.6864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.1537, allocations: 88.95 kB / 0.6865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1537, allocations: 4 kB / 0.6865 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.1538, allocations: 15.91 kB / 0.6865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1538, allocations: 4.062 kB / 0.6865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1538, allocations: 11.98 kB / 0.6865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.1539, allocations: 83.28 kB / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1539, allocations: 0 / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1541, allocations: 16 kB / 0.6866 GB, free: 1.945 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 7.165e-05/0.1542, allocations: 95.25 kB / 0.6867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.1543, allocations: 59.91 kB / 0.6868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1543, allocations: 0 / 0.6868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.1544, allocations: 32.05 kB / 0.6868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1547, allocations: 11.98 kB / 0.6868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.1551, allocations: 161.6 kB / 0.687 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1553, allocations: 0.6854 MB / 0.6876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.483e-05/0.1553, allocations: 7.938 kB / 0.6876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.1554, allocations: 11.44 kB / 0.6876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1554, allocations: 0 / 0.6876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of Templates: time 0.002585/0.158, allocations: 0.7779 MB / 0.6884 GB, free: 60 kB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)