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.01091/0.01091, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.0011/0.0011, allocations: 176.2 kB / 16.06 MB, free: 5.875 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 3.699/3.699, allocations: 389.1 MB / 405.9 MB, free: 68.5 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.721/4.721, allocations: 472.3 MB / 0.9018 GB, free: 13.32 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.0005023, allocations: 16 kB / 1.008 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5025, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001731/0.5042, allocations: 1.474 MB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.000895/0.5052, allocations: 0.5452 MB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.5053, allocations: 3.938 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.5054, allocations: 10.86 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.5055, allocations: 27.73 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.5057, allocations: 43.94 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.5059, allocations: 157.2 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.5061, allocations: 32.14 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.5061, allocations: 39.8 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.5062, allocations: 55 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.5063, allocations: 4 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.5063, allocations: 5.312 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.5063, allocations: 19.86 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.5064, allocations: 49.64 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.5065, allocations: 81.03 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5065, allocations: 0 / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.737e-06/0.5065, allocations: 0 / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.5065, allocations: 0 / 1.107 GB, free: 181.2 MB / 0.6823 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.0006008/0.5072, allocations: 465.9 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.5072, allocations: 8.031 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.5073, allocations: 23.7 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.5075, allocations: 230 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5075, allocations: 11.98 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.462e-05/0.5076, allocations: 12 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.5079, allocations: 156.9 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5079, allocations: 2.625 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.5079, allocations: 0 / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.5079, allocations: 7.953 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.5082, allocations: 87.31 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.5091, allocations: 0.731 MB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.5093, allocations: 61.89 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.5095, allocations: 38.31 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.5095, allocations: 5.688 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.5098, allocations: 126.6 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 4.67e-06/0.5098, allocations: 1.406 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0005586/0.5104, allocations: 185.1 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.5104, allocations: 136 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.5106, allocations: 194.9 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.5107, allocations: 37.69 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.5108, allocations: 123.9 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.5108, allocations: 35.66 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.513e-06/0.5108, allocations: 4 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.5109, allocations: 326.8 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5111, allocations: 51.47 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5112, allocations: 147.6 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.5114, allocations: 62.61 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.5114, allocations: 0 / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004785/0.5119, allocations: 222.6 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.512, allocations: 8 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.963e-06/0.512, allocations: 7.953 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.512, allocations: 4 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.5122, allocations: 39.48 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5122, allocations: 4 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.5124, allocations: 35.81 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.5124, allocations: 12.75 kB / 1.11 GB, free: 177.4 MB / 0.6823 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,sampleTrigger.y,$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.0001167/0.5126, allocations: 140.4 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.5126, allocations: 16.47 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.5127, allocations: 21.39 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-06/0.5127, allocations: 7.953 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.862e-06/0.5127, allocations: 0 / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.658e-06/0.5127, allocations: 4 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008944/0.5136, allocations: 0.5176 MB / 1.111 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.024e-06/0.5136, allocations: 7.281 kB / 1.111 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.5138, allocations: 24.72 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-06/0.5138, allocations: 5.406 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5139, allocations: 0.9375 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.973e-06/0.5139, allocations: 0 / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5139, allocations: 4 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.5145, allocations: 375.5 kB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.5146, allocations: 100.9 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.5146, allocations: 3.953 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.5149, allocations: 24.48 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.5149, allocations: 13.86 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.515, allocations: 4 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001135/0.5151, allocations: 140.6 kB / 1.111 GB, free: 176 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.9e-07/0.5151, allocations: 0 / 1.111 GB, free: 176 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004664/0.5156, allocations: 27.91 kB / 1.111 GB, free: 175.9 MB / 0.6823 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,sampleTrigger.y,$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.0001076/0.5157, allocations: 116 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.5161, allocations: 118.9 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.575e-06/0.5161, allocations: 0 / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.5163, allocations: 58.03 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.517, allocations: 53.36 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.5176, allocations: 393.8 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.5178, allocations: 0.7275 MB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.5179, allocations: 23.41 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.518, allocations: 19.44 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.496e-06/0.518, allocations: 0 / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.005836/0.5238, allocations: 1.744 MB / 1.115 GB, free: 172.8 MB / 0.6823 GB