Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.221/3.221, allocations: 287.5 MB / 302.4 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 177.1 kB / 371 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 0.6297 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 92.03 kB / 0.743 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 12.38 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.953/1.17, allocations: 139.9 MB / 1.115 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.17, allocations: 80.17 kB / 1.115 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01401/1.184, allocations: 3.48 MB / 1.118 GB, free: 31.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/1.184, allocations: 0 / 1.118 GB, free: 31.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.028e-05/1.184, allocations: 3.781 kB / 1.118 GB, free: 31.17 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.00086/1.185, allocations: 471.3 kB / 1.119 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.185, allocations: 15.52 kB / 1.119 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/1.185, allocations: 18.84 kB / 1.119 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/1.186, allocations: 224.9 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/1.186, allocations: 9.234 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/1.186, allocations: 19.31 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/1.186, allocations: 143.9 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.186, allocations: 7.75 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/1.186, allocations: 2.688 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.186, allocations: 7.906 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/1.187, allocations: 77.48 kB / 1.119 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.188, allocations: 0.7678 MB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/1.188, allocations: 49.38 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/1.188, allocations: 3.875 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/1.189, allocations: 131.1 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 3.016e-06/1.189, allocations: 3.938 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007362/1.189, allocations: 183.1 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/1.19, allocations: 129.4 kB / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/1.19, allocations: 180.6 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/1.19, allocations: 29.14 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.19, allocations: 138.7 kB / 1.121 GB, free: 29.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/1.19, allocations: 32.88 kB / 1.121 GB, free: 29.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/1.19, allocations: 2.938 kB / 1.121 GB, free: 29.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.19, allocations: 330 kB / 1.121 GB, free: 28.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/1.19, allocations: 45.17 kB / 1.121 GB, free: 28.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/1.191, allocations: 155.5 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/1.191, allocations: 62.36 kB / 1.122 GB, free: 28.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.191, allocations: 3.844 kB / 1.122 GB, free: 28.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005871/1.192, allocations: 207.2 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.192, allocations: 9.438 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.192, allocations: 4.281 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.192, allocations: 3.906 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/1.192, allocations: 43.19 kB / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.192, allocations: 11.8 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/1.192, allocations: 31.03 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/1.192, allocations: 11.62 kB / 1.122 GB, free: 28.7 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.0001419/1.192, allocations: 140.6 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/1.192, allocations: 24.47 kB / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/1.192, allocations: 21.27 kB / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.192, allocations: 3.875 kB / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.192, allocations: 0 / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.192, allocations: 0 / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.194, allocations: 0.5299 MB / 1.123 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.194, allocations: 0 / 1.123 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/1.194, allocations: 20.7 kB / 1.123 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.194, allocations: 0 / 1.123 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/1.194, allocations: 3.656 kB / 1.123 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.194, allocations: 7.938 kB / 1.123 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.194, allocations: 0 / 1.123 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/1.195, allocations: 408.1 kB / 1.123 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/1.195, allocations: 95.77 kB / 1.123 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/1.195, allocations: 7.656 kB / 1.123 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/1.195, allocations: 21.42 kB / 1.123 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/1.195, allocations: 18.66 kB / 1.123 GB, free: 27.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/1.195, allocations: 10.55 kB / 1.123 GB, free: 27.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001438/1.195, allocations: 139.8 kB / 1.123 GB, free: 27.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.195, allocations: 0 / 1.123 GB, free: 27.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004342/1.196, allocations: 30.09 kB / 1.123 GB, free: 27.68 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.0001719/1.196, allocations: 114.8 kB / 1.123 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00048/1.196, allocations: 125 kB / 1.124 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.196, allocations: 0 / 1.124 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/1.197, allocations: 56.64 kB / 1.124 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/1.197, allocations: 56.91 kB / 1.124 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/1.198, allocations: 390.8 kB / 1.124 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/1.198, allocations: 0.7278 MB / 1.125 GB, free: 26.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001092/1.198, allocations: 20.36 kB / 1.125 GB, free: 26.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/1.199, allocations: 15.28 kB / 1.125 GB, free: 26.58 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/1.199, allocations: 0 / 1.125 GB, free: 26.58 MB / 0.698 GB Notification: Performance of Templates: time 0.006224/1.205, allocations: 1.738 MB / 1.126 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)