Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.979/3.979, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.901e-05, allocations: 4 kB / 0.5325 GB, free: 1.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5626, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.029/6.591, allocations: 2.425 GB / 3.054 GB, free: 1.969 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/6.592, allocations: 87.86 kB / 3.054 GB, free: 1.887 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.743/9.335, allocations: 0.6245 GB / 3.679 GB, free: 16.56 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.756e-06/9.335, allocations: 3.938 kB / 3.679 GB, free: 16.56 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.00012/9.335, allocations: 39.97 kB / 3.679 GB, free: 16.52 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.004524/9.339, allocations: 1.406 MB / 3.68 GB, free: 15.06 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/9.339, allocations: 12.03 kB / 3.68 GB, free: 15.05 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/9.343, allocations: 0.5372 MB / 3.681 GB, free: 14.51 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03245/9.375, allocations: 12.54 MB / 3.693 GB, free: 1.797 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/9.377, allocations: 293 kB / 3.693 GB, free: 1.512 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003153/9.377, allocations: 44 kB / 3.693 GB, free: 1.469 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001828/9.379, allocations: 0.7569 MB / 3.694 GB, free: 0.707 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5312/9.91, allocations: 0.854 MB / 3.695 GB, free: 144.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/9.91, allocations: 0.7188 kB / 3.695 GB, free: 144.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/9.91, allocations: 1.594 kB / 3.695 GB, free: 144.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/9.91, allocations: 33.48 kB / 3.695 GB, free: 144.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008896/9.919, allocations: 3.437 MB / 3.698 GB, free: 143.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/9.921, allocations: 0.5617 MB / 3.699 GB, free: 143.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/9.921, allocations: 306.7 kB / 3.699 GB, free: 143.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/9.922, allocations: 0.7041 MB / 3.7 GB, free: 142.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009189/9.923, allocations: 450.6 kB / 3.7 GB, free: 142.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 4.256e-06/9.923, allocations: 0 / 3.7 GB, free: 142.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.00256/9.925, allocations: 0.7063 MB / 3.701 GB, free: 142.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/9.926, allocations: 163.5 kB / 3.701 GB, free: 142 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/9.927, allocations: 0.6808 MB / 3.702 GB, free: 141.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/9.927, allocations: 28.3 kB / 3.702 GB, free: 141.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/9.928, allocations: 480 kB / 3.702 GB, free: 141.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/9.928, allocations: 168.3 kB / 3.702 GB, free: 141.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/9.928, allocations: 0 / 3.702 GB, free: 141.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/9.928, allocations: 338.5 kB / 3.703 GB, free: 141.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/9.929, allocations: 298 kB / 3.703 GB, free: 141.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/9.93, allocations: 0.4942 MB / 3.703 GB, free: 141.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/9.931, allocations: 403.1 kB / 3.704 GB, free: 141.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.354e-06/9.931, allocations: 2 kB / 3.704 GB, free: 141.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002706/9.934, allocations: 0.8832 MB / 3.705 GB, free: 141 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/9.934, allocations: 43.95 kB / 3.705 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/9.934, allocations: 6.5 kB / 3.705 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/9.934, allocations: 10.89 kB / 3.705 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/9.935, allocations: 225.3 kB / 3.705 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/9.935, allocations: 7.484 kB / 3.705 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/9.937, allocations: 266.5 kB / 3.705 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/9.938, allocations: 51.34 kB / 3.705 GB, free: 140.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 () * 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.0003423/9.938, allocations: 162 kB / 3.705 GB, free: 140.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/9.938, allocations: 100.3 kB / 3.705 GB, free: 140.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/9.941, allocations: 0.7176 MB / 3.706 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/9.941, allocations: 6.391 kB / 3.706 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/9.941, allocations: 1.406 kB / 3.706 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/9.941, allocations: 3.75 kB / 3.706 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005809/9.946, allocations: 2.776 MB / 3.709 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/9.947, allocations: 6.031 kB / 3.709 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008091/9.947, allocations: 119.5 kB / 3.709 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/9.947, allocations: 10.5 kB / 3.709 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.214e-05/9.947, allocations: 24.78 kB / 3.709 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/9.947, allocations: 13.31 kB / 3.709 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/9.948, allocations: 10.84 kB / 3.709 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/9.95, allocations: 1.423 MB / 3.71 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006236/9.95, allocations: 297.9 kB / 3.711 GB, free: 138.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/9.95, allocations: 12.25 kB / 3.711 GB, free: 138.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/9.952, allocations: 120.7 kB / 3.711 GB, free: 138.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/9.952, allocations: 52.77 kB / 3.711 GB, free: 138.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/9.952, allocations: 42.73 kB / 3.711 GB, free: 138.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008504/9.953, allocations: 0.5212 MB / 3.711 GB, free: 138.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.09e-06/9.953, allocations: 2.312 kB / 3.711 GB, free: 138.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001879/9.955, allocations: 408.4 kB / 3.712 GB, free: 138.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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.002605/9.958, allocations: 1.752 MB / 3.714 GB, free: 138.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001594/9.959, allocations: 0.7716 MB / 3.714 GB, free: 138.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.543e-06/9.959, allocations: 0 / 3.714 GB, free: 138.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006522/9.96, allocations: 430.4 kB / 3.715 GB, free: 138.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/9.962, allocations: 347.5 kB / 3.715 GB, free: 138.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/9.965, allocations: 1.379 MB / 3.716 GB, free: 137.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/9.966, allocations: 1.085 MB / 3.717 GB, free: 136.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001681/9.967, allocations: 240.3 kB / 3.718 GB, free: 136.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/9.968, allocations: 77.05 kB / 3.718 GB, free: 136.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.966e-06/9.968, allocations: 0 / 3.718 GB, free: 136.9 MB / 0.823 GB Notification: Performance of Templates: time 0.04977/10.02, allocations: 22.93 MB / 3.74 GB, free: 136.5 MB / 0.823 GB