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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.587/1.587, allocations: 293 MB / 309 MB, free: 4.812 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.000913/0.0009131, allocations: 168.6 kB / 378.7 MB, free: 1.039 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.479/1.479, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007424/0.0007423, allocations: 92.33 kB / 0.7527 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2307, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5955/0.8263, allocations: 141.1 MB / 1.128 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.8266, allocations: 79.34 kB / 1.128 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008179/0.8348, allocations: 3.502 MB / 1.132 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.546e-06/0.8348, allocations: 0 / 1.132 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.8348, allocations: 4 kB / 1.132 GB, free: 30.71 MB / 0.7292 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.0005352/0.8354, allocations: 466.3 kB / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.8354, allocations: 8.031 kB / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.8355, allocations: 25.59 kB / 1.132 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.8357, allocations: 226 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.8357, allocations: 12.38 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.8358, allocations: 12.38 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.836, allocations: 156.5 kB / 1.133 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.836, allocations: 192 / 1.133 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.8361, allocations: 12.95 kB / 1.133 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.8361, allocations: 4.656 kB / 1.133 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.8363, allocations: 82.19 kB / 1.133 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.8371, allocations: 0.7619 MB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.8372, allocations: 53.31 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.8373, allocations: 36.23 kB / 1.134 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.8374, allocations: 4 kB / 1.134 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.8376, allocations: 125.3 kB / 1.134 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/0.8376, allocations: 3.328 kB / 1.134 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004634/0.8381, allocations: 185 kB / 1.134 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.8382, allocations: 132.8 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.8383, allocations: 202.6 kB / 1.134 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.8384, allocations: 33.64 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.8384, allocations: 134.6 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.8385, allocations: 35 kB / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.8385, allocations: 4.562 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.8385, allocations: 325.4 kB / 1.135 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.8387, allocations: 46.7 kB / 1.135 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.8388, allocations: 144.8 kB / 1.135 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.839, allocations: 215.7 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8391, allocations: 3.938 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003202/0.8394, allocations: 219 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8394, allocations: 8.625 kB / 1.135 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8394, allocations: 4 kB / 1.135 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.8394, allocations: 4.562 kB / 1.135 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.8396, allocations: 38.73 kB / 1.135 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.8396, allocations: 4 kB / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.8397, allocations: 38.86 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.8397, allocations: 8.5 kB / 1.135 GB, free: 26.93 MB / 0.7292 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 () * Number of clocked 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.568e-05/0.8398, allocations: 138.9 kB / 1.135 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.8399, allocations: 21.67 kB / 1.135 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.8399, allocations: 20.88 kB / 1.136 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.8399, allocations: 4 kB / 1.136 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8399, allocations: 0 / 1.136 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.8399, allocations: 4 kB / 1.136 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.8405, allocations: 0.5261 MB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8405, allocations: 0 / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.8407, allocations: 31.39 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8407, allocations: 0 / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.8407, allocations: 4 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.8407, allocations: 0.5 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8407, allocations: 4.875 kB / 1.136 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.8411, allocations: 377.3 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.8412, allocations: 94.3 kB / 1.137 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.8412, allocations: 5.781 kB / 1.137 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.8414, allocations: 20.83 kB / 1.137 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.8414, allocations: 12.62 kB / 1.137 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.8414, allocations: 5.219 kB / 1.137 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.953e-05/0.8415, allocations: 143.4 kB / 1.137 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8415, allocations: 4.938 kB / 1.137 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000302/0.8418, allocations: 28.56 kB / 1.137 GB, free: 25.52 MB / 0.7292 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 () * Number of clocked 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.0001303/0.842, allocations: 110.2 kB / 1.137 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.8423, allocations: 125.3 kB / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8423, allocations: 0 / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.8424, allocations: 52.02 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.843, allocations: 64.45 kB / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.8436, allocations: 394.9 kB / 1.137 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.8437, allocations: 0.7246 MB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.469e-05/0.8438, allocations: 24.02 kB / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.8438, allocations: 15.44 kB / 1.138 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/0.8438, allocations: 0 / 1.138 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.004941/0.8488, allocations: 1.773 MB / 1.14 GB, free: 23.09 MB / 0.7292 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)