Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 4.076/4.076, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.75e-05, allocations: 5.266 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 98.72 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2566/0.4286, allocations: 126.4 MB / 0.7582 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4289, allocations: 71.97 kB / 0.7583 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.4429, allocations: 3.445 MB / 0.7616 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.053e-06/0.443, allocations: 0.875 kB / 0.7616 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.443, allocations: 4 kB / 0.7616 GB, free: 15.76 MB / 0.6511 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.0006993/0.4437, allocations: 436.5 kB / 0.762 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4438, allocations: 12.03 kB / 0.7621 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.4438, allocations: 15.81 kB / 0.7621 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.4442, allocations: 234.6 kB / 0.7623 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4443, allocations: 8 kB / 0.7623 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.4443, allocations: 15.94 kB / 0.7623 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.4446, allocations: 133.8 kB / 0.7624 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4446, allocations: 3.938 kB / 0.7624 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.4447, allocations: 4 kB / 0.7625 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.278e-06/0.4447, allocations: 4 kB / 0.7625 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.4448, allocations: 55.88 kB / 0.7625 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.4461, allocations: 0.7551 MB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.4463, allocations: 34.58 kB / 0.7633 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.4464, allocations: 24.92 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4464, allocations: 4 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.4466, allocations: 110.8 kB / 0.7634 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.098e-06/0.4466, allocations: 0 / 0.7634 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003348/0.447, allocations: 105.4 kB / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.4471, allocations: 140.4 kB / 0.7636 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.4474, allocations: 173.9 kB / 0.7638 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.4474, allocations: 37.69 kB / 0.7638 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4475, allocations: 131.9 kB / 0.764 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.4476, allocations: 35.61 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.4476, allocations: 4 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4478, allocations: 326.8 kB / 0.7643 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.4479, allocations: 24.38 kB / 0.7643 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.4481, allocations: 131.3 kB / 0.7645 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4482, allocations: 47.95 kB / 0.7645 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.553e-06/0.4482, allocations: 0 / 0.7645 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003954/0.4486, allocations: 181.1 kB / 0.7647 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4487, allocations: 4 kB / 0.7647 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4487, allocations: 4 kB / 0.7647 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4487, allocations: 12.44 kB / 0.7647 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.4489, allocations: 43.91 kB / 0.7648 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.449, allocations: 8 kB / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.4492, allocations: 27.84 kB / 0.7648 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.4492, allocations: 12 kB / 0.7648 GB, free: 12.18 MB / 0.6511 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.pulsStart,booleanPulse.pulsStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete 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.0001197/0.4494, allocations: 116.9 kB / 0.7649 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.4494, allocations: 15.81 kB / 0.7649 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.4495, allocations: 29.52 kB / 0.765 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.4495, allocations: 0 / 0.765 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.527e-06/0.4495, allocations: 4 kB / 0.765 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.907e-06/0.4495, allocations: 0 / 0.765 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.4505, allocations: 0.4975 MB / 0.7654 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-06/0.4505, allocations: 0 / 0.7654 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.4507, allocations: 27.92 kB / 0.7655 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.433e-06/0.4507, allocations: 0 / 0.7655 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.4508, allocations: 4 kB / 0.7655 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.84e-06/0.4508, allocations: 3.953 kB / 0.7655 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.472e-06/0.4508, allocations: 4 kB / 0.7655 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.4513, allocations: 357.3 kB / 0.7658 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.4514, allocations: 96.95 kB / 0.7659 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4514, allocations: 4.125 kB / 0.7659 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.4517, allocations: 19.98 kB / 0.7659 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.4518, allocations: 15.98 kB / 0.766 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.4518, allocations: 7.984 kB / 0.766 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001629/0.452, allocations: 140.4 kB / 0.7661 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.57e-07/0.452, allocations: 0 / 0.7661 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007757/0.4528, allocations: 31.94 kB / 0.7661 GB, free: 10.7 MB / 0.6511 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.pulsStart,intWitRes1.trigger,$whenCondition2) * Number of discrete 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.0002353/0.4531, allocations: 115.2 kB / 0.7662 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000399/0.4535, allocations: 87.81 kB / 0.7663 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.955e-06/0.4535, allocations: 0 / 0.7663 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.4537, allocations: 39.92 kB / 0.7664 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.4543, allocations: 58.86 kB / 0.7664 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.4549, allocations: 264.4 kB / 0.7667 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.4554, allocations: 0.7284 MB / 0.7674 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.4555, allocations: 21.55 kB / 0.7674 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.4556, allocations: 15.44 kB / 0.7674 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of SimCode: time 4.117e-06/0.4556, allocations: 0 / 0.7674 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of Templates: time 0.006485/0.4621, allocations: 1.754 MB / 0.7691 GB, free: 7.57 MB / 0.6511 GB