Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004226/0.00423, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001972/0.001973, allocations: 175.3 kB / 16.7 MB, free: 5.453 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.974/3.974, allocations: 389.1 MB / 406.5 MB, free: 11.83 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 3.894/3.894, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004881, allocations: 16.53 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1813, allocations: 98.73 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.557/7.739, allocations: 2.416 GB / 3.52 GB, free: 95.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/7.739, allocations: 87.02 kB / 3.52 GB, free: 95.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.19/10.93, allocations: 0.6267 GB / 4.147 GB, free: 91.97 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.573e-06/10.93, allocations: 7.938 kB / 4.147 GB, free: 91.96 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001351/10.93, allocations: 35.92 kB / 4.147 GB, free: 91.93 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005917/10.93, allocations: 1.562 MB / 4.149 GB, free: 90.31 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/10.93, allocations: 8.031 kB / 4.149 GB, free: 90.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/10.94, allocations: 0.5371 MB / 4.149 GB, free: 89.77 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03401/10.97, allocations: 11.84 MB / 4.161 GB, free: 77.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002215/10.98, allocations: 321.2 kB / 4.161 GB, free: 77.44 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/10.98, allocations: 68 kB / 4.161 GB, free: 77.37 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/10.98, allocations: 1.15 MB / 4.162 GB, free: 76.18 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/10.98, allocations: 0 / 4.162 GB, free: 76.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/10.98, allocations: 31.98 kB / 4.162 GB, free: 76.15 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/10.98, allocations: 29.31 kB / 4.162 GB, free: 76.12 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006087/10.99, allocations: 1.239 MB / 4.164 GB, free: 74.88 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009082/11, allocations: 3.246 MB / 4.167 GB, free: 71.54 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/11, allocations: 0.7095 MB / 4.167 GB, free: 70.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/11, allocations: 392.9 kB / 4.168 GB, free: 70.44 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/11, allocations: 1.029 MB / 4.169 GB, free: 69.19 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/11, allocations: 0.5171 MB / 4.169 GB, free: 68.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 3.787e-06/11, allocations: 0 / 4.169 GB, free: 68.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.004602/11.01, allocations: 1.178 MB / 4.171 GB, free: 67.46 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/11.01, allocations: 162.2 kB / 4.171 GB, free: 67.26 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/11.01, allocations: 1.216 MB / 4.172 GB, free: 66.03 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/11.01, allocations: 37.7 kB / 4.172 GB, free: 65.99 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/11.01, allocations: 457.5 kB / 4.172 GB, free: 65.54 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/11.01, allocations: 185.3 kB / 4.173 GB, free: 65.36 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/11.01, allocations: 12 kB / 4.173 GB, free: 65.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/11.01, allocations: 329.9 kB / 4.173 GB, free: 65.02 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/11.01, allocations: 476.9 kB / 4.173 GB, free: 64.55 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/11.02, allocations: 0.6762 MB / 4.174 GB, free: 63.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/11.02, allocations: 0.5423 MB / 4.174 GB, free: 63.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/11.02, allocations: 4 kB / 4.174 GB, free: 63.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005329/11.02, allocations: 1.248 MB / 4.176 GB, free: 61.99 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/11.02, allocations: 33.7 kB / 4.176 GB, free: 61.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/11.02, allocations: 8.156 kB / 4.176 GB, free: 61.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/11.02, allocations: 8 kB / 4.176 GB, free: 61.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/11.03, allocations: 219.7 kB / 4.176 GB, free: 61.72 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/11.03, allocations: 7.938 kB / 4.176 GB, free: 61.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/11.03, allocations: 310.9 kB / 4.176 GB, free: 61.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/11.03, allocations: 47.91 kB / 4.176 GB, free: 61.36 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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.0007423/11.03, allocations: 339.4 kB / 4.177 GB, free: 61.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/11.03, allocations: 114.6 kB / 4.177 GB, free: 60.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/11.03, allocations: 0.9431 MB / 4.178 GB, free: 59.94 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/11.03, allocations: 12.03 kB / 4.178 GB, free: 59.93 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/11.03, allocations: 7.953 kB / 4.178 GB, free: 59.92 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/11.03, allocations: 3.984 kB / 4.178 GB, free: 59.91 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006468/11.04, allocations: 3.044 MB / 4.181 GB, free: 56.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/11.04, allocations: 8.094 kB / 4.181 GB, free: 56.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/11.04, allocations: 119.8 kB / 4.181 GB, free: 56.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/11.04, allocations: 8 kB / 4.181 GB, free: 56.59 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/11.04, allocations: 23.98 kB / 4.181 GB, free: 56.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/11.04, allocations: 12 kB / 4.181 GB, free: 56.55 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/11.04, allocations: 11.94 kB / 4.181 GB, free: 56.54 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/11.04, allocations: 1.265 MB / 4.182 GB, free: 55.17 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007466/11.05, allocations: 335.4 kB / 4.182 GB, free: 54.82 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/11.05, allocations: 20 kB / 4.182 GB, free: 54.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/11.05, allocations: 123.9 kB / 4.183 GB, free: 54.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/11.05, allocations: 55.78 kB / 4.183 GB, free: 54.63 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/11.05, allocations: 39.97 kB / 4.183 GB, free: 54.59 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00249/11.05, allocations: 0.9153 MB / 4.184 GB, free: 53.67 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.51e-07/11.05, allocations: 0 / 4.184 GB, free: 53.67 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002034/11.05, allocations: 431.7 kB / 4.184 GB, free: 53.25 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002581/11.06, allocations: 1.585 MB / 4.185 GB, free: 51.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003929/11.06, allocations: 1.009 MB / 4.186 GB, free: 50.58 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/11.06, allocations: 0 / 4.186 GB, free: 50.58 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/11.06, allocations: 493.1 kB / 4.187 GB, free: 50.09 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/11.07, allocations: 0.5351 MB / 4.187 GB, free: 49.56 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/11.07, allocations: 2.18 MB / 4.19 GB, free: 47.26 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/11.07, allocations: 1.084 MB / 4.191 GB, free: 46.14 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001874/11.07, allocations: 260 kB / 4.191 GB, free: 45.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/11.07, allocations: 83.41 kB / 4.191 GB, free: 45.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.062e-06/11.07, allocations: 4 kB / 4.191 GB, free: 45.8 MB / 0.823 GB Notification: Performance of Templates: time 0.07955/11.15, allocations: 36.76 MB / 4.227 GB, free: 9.391 MB / 0.823 GB