Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 289.7 MB / 302.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 177.3 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 93.52 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.36e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.339, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.377, allocations: 140.9 MB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.377, allocations: 70.67 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008907/1.386, allocations: 3.475 MB / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/1.386, allocations: 0 / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.468e-05/1.386, allocations: 8.625 kB / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005904/1.387, allocations: 435 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.387, allocations: 8.031 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/1.387, allocations: 21.53 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/1.387, allocations: 232.9 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.387, allocations: 7.688 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/1.387, allocations: 15.86 kB / 1.122 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/1.388, allocations: 137.1 kB / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.388, allocations: 0.8438 kB / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/1.388, allocations: 0 / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/1.388, allocations: 4 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/1.388, allocations: 52.16 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/1.389, allocations: 0.7574 MB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/1.389, allocations: 38.2 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/1.389, allocations: 16.61 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/1.389, allocations: 5.5 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/1.389, allocations: 119.8 kB / 1.123 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/1.389, allocations: 0.75 kB / 1.123 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002231/1.389, allocations: 106.8 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.389, allocations: 136.5 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/1.39, allocations: 172 kB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/1.39, allocations: 29.58 kB / 1.123 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/1.39, allocations: 145.7 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/1.39, allocations: 23.56 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/1.39, allocations: 3.938 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/1.39, allocations: 334.3 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/1.39, allocations: 24 kB / 1.124 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/1.39, allocations: 129.6 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.453e-05/1.39, allocations: 47.19 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.39, allocations: 4 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002397/1.39, allocations: 185.4 kB / 1.124 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.39, allocations: 4 kB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.39, allocations: 4.5 kB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.39, allocations: 12.94 kB / 1.124 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.39, allocations: 36.05 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.391, allocations: 8.781 kB / 1.124 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/1.391, allocations: 27.2 kB / 1.124 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/1.391, allocations: 8 kB / 1.124 GB, free: 38.16 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/1.391, allocations: 129.6 kB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/1.391, allocations: 23.09 kB / 1.124 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/1.391, allocations: 24.55 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.391, allocations: 1.688 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.391, allocations: 0 / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.391, allocations: 4.656 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/1.392, allocations: 0.4998 MB / 1.125 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.392, allocations: 0 / 1.125 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/1.392, allocations: 19.42 kB / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.392, allocations: 0 / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/1.392, allocations: 6.344 kB / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.392, allocations: 0 / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.392, allocations: 4.562 kB / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/1.392, allocations: 367.1 kB / 1.125 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/1.392, allocations: 92.88 kB / 1.125 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/1.392, allocations: 3.938 kB / 1.125 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/1.392, allocations: 22.66 kB / 1.125 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/1.393, allocations: 16.8 kB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.393, allocations: 4.562 kB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001131/1.393, allocations: 139.9 kB / 1.125 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.393, allocations: 0 / 1.125 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003636/1.393, allocations: 31.56 kB / 1.125 GB, free: 36.88 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003013/1.393, allocations: 114.1 kB / 1.125 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002428/1.394, allocations: 86.36 kB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.394, allocations: 4.562 kB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.682e-05/1.394, allocations: 32.45 kB / 1.126 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/1.394, allocations: 60.45 kB / 1.126 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/1.395, allocations: 252.8 kB / 1.126 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/1.395, allocations: 0.7284 MB / 1.127 GB, free: 35.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.969e-05/1.395, allocations: 24.3 kB / 1.127 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/1.395, allocations: 15.44 kB / 1.127 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.382e-06/1.395, allocations: 0 / 1.127 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.004661/1.4, allocations: 1.754 MB / 1.128 GB, free: 34.69 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)