Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.515/2.515, allocations: 287.5 MB / 303.2 MB, free: 8.191 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.00137/0.00137, allocations: 193.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008497/0.0008495, allocations: 87.19 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004709, allocations: 11.47 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2029, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8709/1.074, allocations: 139.9 MB / 1.116 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.074, allocations: 77.77 kB / 1.116 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01409/1.088, allocations: 3.499 MB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.883e-06/1.088, allocations: 0 / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.127e-05/1.088, allocations: 7.625 kB / 1.119 GB, free: 31.31 MB / 0.698 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.0008536/1.089, allocations: 460.4 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.089, allocations: 11.69 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/1.089, allocations: 20.28 kB / 1.12 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/1.09, allocations: 239.1 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/1.09, allocations: 8.203 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/1.09, allocations: 15.06 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/1.09, allocations: 152.4 kB / 1.12 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.09, allocations: 192 / 1.12 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/1.09, allocations: 11.12 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/1.09, allocations: 3.875 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/1.091, allocations: 82.67 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/1.092, allocations: 0.762 MB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/1.092, allocations: 55.27 kB / 1.121 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/1.092, allocations: 42.55 kB / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/1.092, allocations: 0 / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/1.093, allocations: 129.8 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/1.093, allocations: 3.938 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007264/1.093, allocations: 181.5 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/1.094, allocations: 139.5 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/1.094, allocations: 196 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.094, allocations: 32.7 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/1.094, allocations: 131.8 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/1.094, allocations: 28.56 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/1.094, allocations: 7.25 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.094, allocations: 332.3 kB / 1.122 GB, free: 29.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/1.094, allocations: 40.86 kB / 1.122 GB, free: 29.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/1.095, allocations: 145.2 kB / 1.122 GB, free: 28.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/1.095, allocations: 217.7 kB / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.095, allocations: 5.812 kB / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000575/1.096, allocations: 219.5 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.096, allocations: 3.906 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.096, allocations: 6.766 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.096, allocations: 7.719 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.096, allocations: 44.34 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.096, allocations: 3.875 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/1.096, allocations: 28.72 kB / 1.123 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/1.096, allocations: 11.53 kB / 1.123 GB, free: 28.67 MB / 0.698 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 0.0001466/1.096, allocations: 139.4 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/1.096, allocations: 15.53 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/1.096, allocations: 26.55 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.096, allocations: 3.875 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.097, allocations: 0 / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.097, allocations: 5.906 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/1.098, allocations: 0.5272 MB / 1.124 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.098, allocations: 3.938 kB / 1.124 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/1.098, allocations: 22.55 kB / 1.124 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.098, allocations: 3.875 kB / 1.124 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.098, allocations: 3.5 kB / 1.124 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.098, allocations: 3.812 kB / 1.124 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.098, allocations: 4 kB / 1.124 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/1.099, allocations: 377.4 kB / 1.124 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/1.099, allocations: 90.69 kB / 1.124 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/1.099, allocations: 3.188 kB / 1.124 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/1.099, allocations: 21.47 kB / 1.124 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/1.099, allocations: 18.12 kB / 1.124 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/1.099, allocations: 6.891 kB / 1.124 GB, free: 27.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001465/1.099, allocations: 140.9 kB / 1.124 GB, free: 27.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.099, allocations: 0 / 1.124 GB, free: 27.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004516/1.1, allocations: 33.47 kB / 1.124 GB, free: 27.69 MB / 0.698 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.0001588/1.1, allocations: 108.9 kB / 1.125 GB, free: 27.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004663/1.1, allocations: 127.8 kB / 1.125 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.1, allocations: 0 / 1.125 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/1.101, allocations: 54.89 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/1.102, allocations: 58.83 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/1.102, allocations: 385.3 kB / 1.125 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/1.103, allocations: 0.7339 MB / 1.126 GB, free: 26.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000119/1.103, allocations: 19.7 kB / 1.126 GB, free: 26.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/1.103, allocations: 19.06 kB / 1.126 GB, free: 26.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.663e-06/1.103, allocations: 0 / 1.126 GB, free: 26.59 MB / 0.698 GB Notification: Performance of Templates: time 0.006032/1.109, allocations: 1.739 MB / 1.128 GB, free: 26.45 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)