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.008917/0.00892, allocations: 111.2 kB / 15.06 MB, free: 5.965 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.001098/0.001097, allocations: 180 kB / 15.94 MB, free: 5.93 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 1.985/1.985, allocations: 194.5 MB / 211.2 MB, free: 11.12 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.139/2.139, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00057/0.0005702, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.5575, allocations: 98.72 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.7704, allocations: 126.5 MB / 0.8069 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.7707, allocations: 79.95 kB / 0.807 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.7863, allocations: 3.438 MB / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.905e-06/0.7863, allocations: 4 kB / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.7863, allocations: 8 kB / 0.8103 GB, free: 12.23 MB / 0.6355 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.0007433/0.7871, allocations: 459.2 kB / 0.8108 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7871, allocations: 8.031 kB / 0.8108 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.7872, allocations: 23.81 kB / 0.8108 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.7876, allocations: 226.6 kB / 0.811 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.7876, allocations: 12 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.7876, allocations: 12 kB / 0.8111 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.7881, allocations: 156.8 kB / 0.8112 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.7882, allocations: 4 kB / 0.8112 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.7882, allocations: 7.984 kB / 0.8112 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.7882, allocations: 4 kB / 0.8112 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.7887, allocations: 75.84 kB / 0.8113 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.79, allocations: 0.7628 MB / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.7902, allocations: 54.55 kB / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.7902, allocations: 0 / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.7906, allocations: 135.1 kB / 0.8122 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.519e-06/0.7906, allocations: 3.938 kB / 0.8122 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0006283/0.7912, allocations: 181.3 kB / 0.8124 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.7913, allocations: 140.7 kB / 0.8125 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.7916, allocations: 178.8 kB / 0.8127 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.7916, allocations: 25.7 kB / 0.8127 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.7918, allocations: 128.1 kB / 0.8128 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.7918, allocations: 35.55 kB / 0.8129 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.7918, allocations: 4 kB / 0.8129 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.792, allocations: 326.8 kB / 0.8132 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.7922, allocations: 44.34 kB / 0.8132 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.7924, allocations: 152.9 kB / 0.8134 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.7926, allocations: 59.92 kB / 0.8134 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.904e-06/0.7927, allocations: 0 / 0.8134 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005752/0.7933, allocations: 221.5 kB / 0.8137 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.7933, allocations: 8 kB / 0.8137 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.596e-06/0.7933, allocations: 0 / 0.8137 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7933, allocations: 8 kB / 0.8137 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.7935, allocations: 43.91 kB / 0.8137 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.7936, allocations: 7.938 kB / 0.8137 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.7938, allocations: 35.78 kB / 0.8137 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.7938, allocations: 12.27 kB / 0.8138 GB, free: 8.398 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.0001876/0.794, allocations: 129.8 kB / 0.8139 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.7941, allocations: 19.81 kB / 0.8139 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.7941, allocations: 21.39 kB / 0.8139 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.477e-06/0.7942, allocations: 0 / 0.8139 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.857e-06/0.7942, allocations: 4 kB / 0.8139 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.993e-06/0.7942, allocations: 0 / 0.8139 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.7953, allocations: 0.533 MB / 0.8144 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.032e-06/0.7953, allocations: 64 / 0.8144 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.7955, allocations: 27.92 kB / 0.8145 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.435e-06/0.7955, allocations: 4 kB / 0.8145 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.7955, allocations: 0 / 0.8145 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.7956, allocations: 7.984 kB / 0.8145 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.235e-06/0.7956, allocations: 3.953 kB / 0.8145 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.7963, allocations: 417.2 kB / 0.8149 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.7964, allocations: 88.92 kB / 0.815 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.7964, allocations: 8 kB / 0.815 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.7967, allocations: 16.03 kB / 0.815 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.7968, allocations: 15.97 kB / 0.815 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.7968, allocations: 4 kB / 0.815 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000163/0.797, allocations: 140.6 kB / 0.8151 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.37e-07/0.797, allocations: 0 / 0.8151 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004796/0.7975, allocations: 31.94 kB / 0.8152 GB, free: 6.82 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.0001681/0.7976, allocations: 112.3 kB / 0.8153 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.7981, allocations: 128 kB / 0.8154 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.45e-06/0.7981, allocations: 0 / 0.8154 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.7983, allocations: 60.72 kB / 0.8155 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.7988, allocations: 58 kB / 0.8155 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.7996, allocations: 388.7 kB / 0.8159 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.8, allocations: 0.7284 MB / 0.8166 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.8001, allocations: 21.98 kB / 0.8166 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.8002, allocations: 19.44 kB / 0.8166 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of SimCode: time 1.4e-06/0.8002, allocations: 0 / 0.8166 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of Templates: time 0.00634/0.8066, allocations: 1.736 MB / 0.8183 GB, free: 3.535 MB / 0.6355 GB