Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004166/0.004171, allocations: 234 kB / 15.82 MB, free: 6.289 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001186/0.001186, allocations: 173.7 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.036/4.036, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.179/4.179, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007879/0.0007882, allocations: 19.5 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1929, allocations: 98.72 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8161/1.009, allocations: 126.5 MB / 1.228 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.009, allocations: 81 kB / 1.228 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01423/1.024, allocations: 3.432 MB / 1.232 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/1.024, allocations: 3.469 kB / 1.232 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.81e-05/1.024, allocations: 8 kB / 1.232 GB, free: 25.03 MB / 0.6198 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.0008029/1.025, allocations: 456.5 kB / 1.232 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.025, allocations: 9.516 kB / 1.232 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/1.025, allocations: 25.27 kB / 1.232 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/1.025, allocations: 234.3 kB / 1.232 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.025, allocations: 11.25 kB / 1.232 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/1.025, allocations: 11.97 kB / 1.232 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/1.025, allocations: 150.1 kB / 1.233 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.025, allocations: 6.062 kB / 1.233 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/1.026, allocations: 3.188 kB / 1.233 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/1.026, allocations: 4 kB / 1.233 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/1.026, allocations: 87.22 kB / 1.233 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/1.027, allocations: 0.7595 MB / 1.233 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/1.028, allocations: 55.86 kB / 1.233 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/1.028, allocations: 44.56 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/1.028, allocations: 2.531 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003468/1.028, allocations: 125.3 kB / 1.234 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.835e-06/1.028, allocations: 0 / 1.234 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0007283/1.029, allocations: 180.4 kB / 1.234 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.029, allocations: 138.8 kB / 1.234 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/1.029, allocations: 200.1 kB / 1.234 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/1.029, allocations: 29.52 kB / 1.234 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/1.029, allocations: 122.1 kB / 1.234 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/1.029, allocations: 38.12 kB / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/1.029, allocations: 6.938 kB / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0005615/1.03, allocations: 327.5 kB / 1.235 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/1.03, allocations: 41.31 kB / 1.235 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/1.03, allocations: 154.3 kB / 1.235 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/1.031, allocations: 62.03 kB / 1.235 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.031, allocations: 4 kB / 1.235 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006144/1.031, allocations: 219.2 kB / 1.235 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.031, allocations: 8 kB / 1.235 GB, free: 37.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.031, allocations: 4 kB / 1.235 GB, free: 37.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/1.031, allocations: 8.203 kB / 1.235 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/1.032, allocations: 37.28 kB / 1.235 GB, free: 37.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.032, allocations: 9.219 kB / 1.235 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/1.032, allocations: 31.81 kB / 1.235 GB, free: 37.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.032, allocations: 8 kB / 1.235 GB, free: 37.81 MB / 0.6355 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 () * 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.0001539/1.032, allocations: 136.1 kB / 1.235 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/1.032, allocations: 20.47 kB / 1.235 GB, free: 37.67 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/1.032, allocations: 19.59 kB / 1.235 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.032, allocations: 6.078 kB / 1.235 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.032, allocations: 0 / 1.235 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.032, allocations: 7.656 kB / 1.235 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/1.033, allocations: 0.5315 MB / 1.236 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.033, allocations: 0.7188 kB / 1.236 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/1.034, allocations: 24.11 kB / 1.236 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.034, allocations: 0 / 1.236 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.034, allocations: 4 kB / 1.236 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.034, allocations: 6.859 kB / 1.236 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.034, allocations: 2.906 kB / 1.236 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007166/1.034, allocations: 373.1 kB / 1.236 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/1.035, allocations: 95.42 kB / 1.236 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/1.035, allocations: 6.531 kB / 1.236 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/1.035, allocations: 24.92 kB / 1.236 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/1.035, allocations: 14.23 kB / 1.236 GB, free: 36.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/1.035, allocations: 7.188 kB / 1.236 GB, free: 36.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001546/1.035, allocations: 141 kB / 1.236 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/1.035, allocations: 0 / 1.236 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005066/1.036, allocations: 27.94 kB / 1.237 GB, free: 36.56 MB / 0.6355 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 () * 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.0001522/1.036, allocations: 115.8 kB / 1.237 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004835/1.036, allocations: 125.2 kB / 1.237 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.036, allocations: 0 / 1.237 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/1.037, allocations: 57.06 kB / 1.237 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/1.037, allocations: 66.31 kB / 1.237 GB, free: 36.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/1.038, allocations: 387.2 kB / 1.237 GB, free: 35.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.038, allocations: 0.7308 MB / 1.238 GB, free: 35.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001355/1.039, allocations: 15.05 kB / 1.238 GB, free: 35.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/1.039, allocations: 20.16 kB / 1.238 GB, free: 35.19 MB / 0.6355 GB Notification: Performance of SimCode: time 2.244e-06/1.039, allocations: 0 / 1.238 GB, free: 35.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.006654/1.045, allocations: 1.748 MB / 1.24 GB, free: 34.29 MB / 0.6355 GB