Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001445/0.001445, allocations: 107 kB / 16.37 MB, free: 6.469 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.001573/0.001573, allocations: 193 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2679, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003197/0.2711, allocations: 1.473 MB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.272, allocations: 483.7 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.272, allocations: 0 / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.2721, allocations: 7.922 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.2722, allocations: 11.88 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.2724, allocations: 23.92 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.2725, allocations: 47.89 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2726, allocations: 19.92 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.2726, allocations: 23.88 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.2727, allocations: 19.91 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.2728, allocations: 4 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2728, allocations: 4 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.2728, allocations: 15.98 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.2729, allocations: 27.84 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.273, allocations: 47.81 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.273, allocations: 0 / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.273, allocations: 0 / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.273, allocations: 0 / 0.7869 GB, free: 0.9688 MB / 0.6544 GB 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.000549/0.2736, allocations: 363.4 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2736, allocations: 8.031 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.2737, allocations: 8.844 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.2738, allocations: 176.3 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2738, allocations: 384 / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2738, allocations: 8.375 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.274, allocations: 61.98 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.274, allocations: 0 / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.274, allocations: 0 / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.274, allocations: 0 / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.2741, allocations: 31.92 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4593/0.7334, allocations: 301.5 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.7336, allocations: 55.22 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.7337, allocations: 24.94 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.7337, allocations: 0 / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.734, allocations: 72.36 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.445e-06/0.734, allocations: 0.8438 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000284/0.7343, allocations: 109.2 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.7344, allocations: 55.78 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.7344, allocations: 105.1 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.7345, allocations: 35.67 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.7345, allocations: 80.14 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.7345, allocations: 28.38 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.7346, allocations: 23.41 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.7347, allocations: 322.6 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.7347, allocations: 18.11 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/0.7347, allocations: 45.11 kB / 0.7888 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.7348, allocations: 67.91 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7348, allocations: 0 / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001269/0.735, allocations: 109.3 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.735, allocations: 7.562 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.735, allocations: 0 / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.735, allocations: 2.688 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.7351, allocations: 10.34 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.7351, allocations: 0 / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.7352, allocations: 8.5 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.7352, allocations: 7.688 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB 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 7.344e-05/0.7353, allocations: 121.4 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.7353, allocations: 9.875 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.7354, allocations: 8.031 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7354, allocations: 3.031 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7354, allocations: 0 / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7354, allocations: 0 / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.7358, allocations: 369.4 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7358, allocations: 0 / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.7358, allocations: 2.625 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7358, allocations: 2.625 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.7358, allocations: 0 / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7358, allocations: 0.875 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7358, allocations: 2.188 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.736, allocations: 194.2 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.736, allocations: 79.58 kB / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.736, allocations: 3.438 kB / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.7361, allocations: 6.156 kB / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.7362, allocations: 11.39 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7362, allocations: 4.688 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.7362, allocations: 79.48 kB / 0.7898 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7362, allocations: 0 / 0.7898 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002389/0.7365, allocations: 19.84 kB / 0.7898 GB, free: 47.16 MB / 0.6544 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.000107/0.7366, allocations: 102 kB / 0.7899 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.7367, allocations: 55.06 kB / 0.79 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7367, allocations: 2.359 kB / 0.79 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.7368, allocations: 25.38 kB / 0.79 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.7371, allocations: 17.66 kB / 0.79 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.7375, allocations: 183.4 kB / 0.7902 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.7377, allocations: 0.6883 MB / 0.7909 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.7377, allocations: 10.78 kB / 0.7909 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of SimCode: time 1.152e-06/0.7377, allocations: 0 / 0.7909 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.002062/0.7398, allocations: 0.8637 MB / 0.7917 GB, free: 46.22 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)