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.004346/0.004346, allocations: 232.3 kB / 15.8 MB, free: 6.285 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.001177/0.001177, allocations: 178.8 kB / 16.69 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 3.991/3.991, 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.335/4.335, allocations: 472.3 MB / 0.9024 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006679/0.0006686, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2004, allocations: 98.73 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003901/0.2044, allocations: 1.484 MB / 1.106 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2065, allocations: 0.5324 MB / 1.107 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.2068, allocations: 3.938 kB / 1.107 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.788e-05/0.2069, allocations: 14.61 kB / 1.107 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.2072, allocations: 27.78 kB / 1.107 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.2076, allocations: 55.88 kB / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.208, allocations: 151.5 kB / 1.107 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.2082, allocations: 30.98 kB / 1.107 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2083, allocations: 43.78 kB / 1.107 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2085, allocations: 51.64 kB / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.2085, allocations: 4 kB / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.2085, allocations: 8 kB / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.2086, allocations: 15.92 kB / 1.107 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.2087, allocations: 48.48 kB / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2089, allocations: 87.98 kB / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.2089, allocations: 4 kB / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.559e-06/0.2089, allocations: 0 / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2089, allocations: 0 / 1.107 GB, free: 39.55 MB / 0.6042 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.001378/0.2103, allocations: 453.4 kB / 1.108 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.262e-05/0.2104, allocations: 8.031 kB / 1.108 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.2106, allocations: 19.81 kB / 1.108 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.211, allocations: 234.6 kB / 1.108 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.211, allocations: 7.312 kB / 1.108 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.2111, allocations: 12 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.2117, allocations: 160.3 kB / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2118, allocations: 8.734 kB / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.2118, allocations: 4 kB / 1.108 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2118, allocations: 4 kB / 1.108 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.2124, allocations: 83.16 kB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.2142, allocations: 0.7394 MB / 1.109 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.2146, allocations: 57.44 kB / 1.109 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.2149, allocations: 40.83 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.215, allocations: 4 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.2155, allocations: 126.6 kB / 1.109 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 5.16e-06/0.2155, allocations: 4 kB / 1.109 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001141/0.2167, allocations: 182.8 kB / 1.109 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.2168, allocations: 130.6 kB / 1.109 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.2172, allocations: 195.2 kB / 1.109 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2172, allocations: 29.7 kB / 1.109 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2173, allocations: 135.7 kB / 1.11 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.2174, allocations: 35.02 kB / 1.11 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.2175, allocations: 4 kB / 1.11 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2176, allocations: 326.8 kB / 1.11 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.2179, allocations: 44.34 kB / 1.11 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.2183, allocations: 149.2 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.2187, allocations: 66.33 kB / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2187, allocations: 0 / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009798/0.2197, allocations: 220.3 kB / 1.11 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.2198, allocations: 8.688 kB / 1.11 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.2198, allocations: 4 kB / 1.11 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.2199, allocations: 4.719 kB / 1.11 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.2202, allocations: 42.02 kB / 1.11 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.2203, allocations: 7.984 kB / 1.11 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.2207, allocations: 30.8 kB / 1.111 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.2207, allocations: 16 kB / 1.111 GB, free: 35.73 MB / 0.6042 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.0001981/0.2209, allocations: 128.2 kB / 1.111 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.221, allocations: 23.7 kB / 1.111 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.2211, allocations: 21.39 kB / 1.111 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2211, allocations: 4 kB / 1.111 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.2212, allocations: 2.75 kB / 1.111 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.2213, allocations: 96.84 kB / 1.111 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.2213, allocations: 8 kB / 1.111 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.2217, allocations: 15.98 kB / 1.111 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.2218, allocations: 15.77 kB / 1.111 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001341/0.2231, allocations: 488.1 kB / 1.111 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001162/0.2243, allocations: 0.5925 MB / 1.112 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003594/0.2247, allocations: 52.31 kB / 1.112 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002133/0.225, allocations: 141.9 kB / 1.112 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of Backend: time 1.062e-06/0.225, allocations: 1.844 kB / 1.112 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.2267, allocations: 172.6 kB / 1.112 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001638/0.2283, allocations: 0.8566 MB / 1.113 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.01137/0.2398, allocations: 1.93 MB / 1.115 GB, free: 31.25 MB / 0.6042 GB