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.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001602/0.001602, allocations: 192.3 kB / 377.1 MB, free: 1.516 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.602/1.602, allocations: 205.4 MB / 0.6367 GB, free: 9.535 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.0009162/0.0009159, allocations: 99.91 kB / 0.751 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 8 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.241, allocations: 116.3 MB / 0.9884 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6447/0.8858, allocations: 141 MB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.8861, allocations: 74.64 kB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008513/0.8946, allocations: 3.483 MB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8946, allocations: 0 / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.8947, allocations: 4 kB / 1.13 GB, free: 31.63 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.0005629/0.8952, allocations: 467.5 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.8953, allocations: 15.95 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.8953, allocations: 21.88 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.8956, allocations: 219.6 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.8956, allocations: 8 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.8956, allocations: 19.91 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.8959, allocations: 152.1 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.896, allocations: 0.5625 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.896, allocations: 5.719 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.896, allocations: 4 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.8962, allocations: 81.11 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/0.8971, allocations: 0.7647 MB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.8972, allocations: 54.08 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.8972, allocations: 4.656 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.8975, allocations: 119.9 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.8975, allocations: 0 / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004753/0.898, allocations: 184.6 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.8981, allocations: 136.5 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.8982, allocations: 182.5 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.8982, allocations: 29.7 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.8983, allocations: 135.4 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.8983, allocations: 34.72 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.8984, allocations: 0 / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.8984, allocations: 330.1 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.8985, allocations: 46.31 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.8987, allocations: 146.8 kB / 1.133 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.8988, allocations: 68.7 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8989, allocations: 0.6562 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003543/0.8992, allocations: 217.2 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8992, allocations: 8 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.8993, allocations: 4.781 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.8993, allocations: 4.5 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.8994, allocations: 42.55 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.8994, allocations: 4 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.8996, allocations: 35.39 kB / 1.133 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.8996, allocations: 12.81 kB / 1.133 GB, free: 28.1 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 9.718e-05/0.8997, allocations: 138.5 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.8997, allocations: 15.81 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.8998, allocations: 24.73 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8998, allocations: 4 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.8998, allocations: 0 / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8998, allocations: 4 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.9005, allocations: 0.531 MB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9005, allocations: 1.641 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.9006, allocations: 19.78 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.9006, allocations: 0 / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.9007, allocations: 8 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9007, allocations: 0 / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.9007, allocations: 8.75 kB / 1.134 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.9012, allocations: 401.9 kB / 1.134 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.9013, allocations: 104.3 kB / 1.134 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.9013, allocations: 0 / 1.134 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.9015, allocations: 23.38 kB / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.9015, allocations: 15.83 kB / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.9016, allocations: 4 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.705e-05/0.9017, allocations: 145.2 kB / 1.134 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9017, allocations: 0.5625 kB / 1.134 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003624/0.902, allocations: 28 kB / 1.134 GB, free: 26.64 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.0001605/0.9022, allocations: 112.2 kB / 1.134 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.9025, allocations: 121.4 kB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9025, allocations: 4.125 kB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.9027, allocations: 58.02 kB / 1.135 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.9031, allocations: 53.02 kB / 1.135 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.9036, allocations: 398 kB / 1.135 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.9038, allocations: 0.7208 MB / 1.136 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.335e-05/0.9039, allocations: 25.73 kB / 1.136 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.9039, allocations: 15.44 kB / 1.136 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/0.9039, allocations: 0 / 1.136 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.00481/0.9088, allocations: 1.735 MB / 1.138 GB, free: 24.24 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)