Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.535/2.535, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 185.7 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.477/2.477, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 98.22 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 12.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.204, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.4297, allocations: 133.6 MB / 1.029 GB, free: 11.71 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.43, allocations: 83.92 kB / 1.029 GB, free: 11.63 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.4452, allocations: 3.491 MB / 1.033 GB, free: 8.125 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4453, allocations: 4 kB / 1.033 GB, free: 8.121 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.4453, allocations: 4 kB / 1.033 GB, free: 8.117 MB / 0.6824 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.0009377/0.4463, allocations: 467.8 kB / 1.033 GB, free: 7.609 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4463, allocations: 8.031 kB / 1.033 GB, free: 7.602 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.4464, allocations: 19.81 kB / 1.033 GB, free: 7.582 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.4468, allocations: 230.6 kB / 1.033 GB, free: 7.316 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.4468, allocations: 8 kB / 1.033 GB, free: 7.309 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.4469, allocations: 12 kB / 1.034 GB, free: 7.297 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.4473, allocations: 150.7 kB / 1.034 GB, free: 7.129 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4474, allocations: 0 / 1.034 GB, free: 7.129 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.4474, allocations: 11.94 kB / 1.034 GB, free: 7.117 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4474, allocations: 0 / 1.034 GB, free: 7.117 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.4478, allocations: 87.83 kB / 1.034 GB, free: 7.031 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.4493, allocations: 0.7551 MB / 1.034 GB, free: 6.211 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.4496, allocations: 54.53 kB / 1.035 GB, free: 6.148 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/0.4497, allocations: 8 kB / 1.035 GB, free: 6.141 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.4501, allocations: 126.6 kB / 1.035 GB, free: 5.992 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=11): time 3.627e-06/0.4501, allocations: 0 / 1.035 GB, free: 5.992 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.0008021/0.4509, allocations: 181.3 kB / 1.035 GB, free: 5.809 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.451, allocations: 144.6 kB / 1.035 GB, free: 5.637 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4513, allocations: 178.2 kB / 1.035 GB, free: 5.457 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.4513, allocations: 29.7 kB / 1.035 GB, free: 5.422 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4515, allocations: 127.8 kB / 1.035 GB, free: 5.293 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.4515, allocations: 35.75 kB / 1.035 GB, free: 5.258 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.4515, allocations: 8 kB / 1.035 GB, free: 5.25 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4517, allocations: 322.8 kB / 1.036 GB, free: 4.926 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.4519, allocations: 48.34 kB / 1.036 GB, free: 4.875 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.4523, allocations: 150.2 kB / 1.036 GB, free: 4.68 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.4525, allocations: 55.98 kB / 1.036 GB, free: 4.625 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.4525, allocations: 0 / 1.036 GB, free: 4.625 MB / 0.6824 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007029/0.4533, allocations: 225.4 kB / 1.036 GB, free: 4.398 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.4533, allocations: 8.062 kB / 1.036 GB, free: 4.391 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4533, allocations: 4 kB / 1.036 GB, free: 4.387 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.4533, allocations: 8 kB / 1.036 GB, free: 4.379 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.4536, allocations: 31.92 kB / 1.036 GB, free: 4.348 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.4537, allocations: 15.86 kB / 1.036 GB, free: 4.332 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.4539, allocations: 31.88 kB / 1.036 GB, free: 4.301 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.454, allocations: 16 kB / 1.036 GB, free: 4.285 MB / 0.6824 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.0001777/0.4541, allocations: 137.2 kB / 1.036 GB, free: 4.145 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.4542, allocations: 15.81 kB / 1.036 GB, free: 4.129 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.4543, allocations: 25.39 kB / 1.036 GB, free: 4.102 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4543, allocations: 0 / 1.036 GB, free: 4.102 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4543, allocations: 0 / 1.036 GB, free: 4.102 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4543, allocations: 4 kB / 1.036 GB, free: 4.098 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.4556, allocations: 0.521 MB / 1.037 GB, free: 3.52 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4556, allocations: 4.312 kB / 1.037 GB, free: 3.516 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.4559, allocations: 23.98 kB / 1.037 GB, free: 3.492 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.4559, allocations: 4 kB / 1.037 GB, free: 3.488 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.4559, allocations: 4 kB / 1.037 GB, free: 3.484 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.4559, allocations: 7.938 kB / 1.037 GB, free: 3.477 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4559, allocations: 3.953 kB / 1.037 GB, free: 3.473 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.4568, allocations: 413.7 kB / 1.037 GB, free: 3.027 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.4569, allocations: 93.33 kB / 1.037 GB, free: 2.918 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.457, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.4573, allocations: 19.98 kB / 1.037 GB, free: 2.898 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.4573, allocations: 15.92 kB / 1.037 GB, free: 2.883 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.4574, allocations: 11.97 kB / 1.037 GB, free: 2.871 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001874/0.4576, allocations: 148.2 kB / 1.038 GB, free: 2.727 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4576, allocations: 4 kB / 1.038 GB, free: 2.723 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004933/0.4581, allocations: 28 kB / 1.038 GB, free: 2.695 MB / 0.6824 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.0001854/0.4583, allocations: 107.2 kB / 1.038 GB, free: 2.582 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0005767/0.4589, allocations: 128 kB / 1.038 GB, free: 2.457 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4589, allocations: 0 / 1.038 GB, free: 2.457 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.4591, allocations: 51.91 kB / 1.038 GB, free: 2.406 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.4598, allocations: 65.95 kB / 1.038 GB, free: 2.344 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.4607, allocations: 386.8 kB / 1.038 GB, free: 1.93 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.4611, allocations: 0.7323 MB / 1.039 GB, free: 1.172 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.000141/0.4613, allocations: 17.48 kB / 1.039 GB, free: 1.152 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.4614, allocations: 19.44 kB / 1.039 GB, free: 1.137 MB / 0.6824 GB Notification: Performance of SimCode: time 9.42e-07/0.4614, allocations: 0 / 1.039 GB, free: 1.137 MB / 0.6824 GB Notification: Performance of Templates: time 0.007258/0.4686, allocations: 1.724 MB / 1.041 GB, free: 15.43 MB / 0.698 GB