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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.079/4.079, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.102e-05, allocations: 9.641 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2266, allocations: 98.74 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.935/8.162, allocations: 2.426 GB / 3.061 GB, free: 238.8 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000428/8.162, allocations: 83.81 kB / 3.061 GB, free: 238.8 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.96/11.12, allocations: 0.631 GB / 3.692 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/11.12, allocations: 0 / 3.692 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001299/11.12, allocations: 39.91 kB / 3.692 GB, free: 9.5 MB / 0.8386 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.005547/11.13, allocations: 1.41 MB / 3.693 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/11.13, allocations: 8.031 kB / 3.693 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003087/11.13, allocations: 110.5 kB / 3.693 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/11.13, allocations: 0.5411 MB / 3.694 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6616/11.79, allocations: 12.58 MB / 3.706 GB, free: 148.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002557/11.8, allocations: 320.2 kB / 3.706 GB, free: 148.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/11.8, allocations: 71.38 kB / 3.706 GB, free: 148.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/11.8, allocations: 0.9538 MB / 3.707 GB, free: 148.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/11.8, allocations: 0 / 3.707 GB, free: 148.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/11.8, allocations: 30.09 kB / 3.707 GB, free: 148.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.307e-05/11.8, allocations: 31.06 kB / 3.707 GB, free: 148.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/11.8, allocations: 0.8614 MB / 3.708 GB, free: 148.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/11.82, allocations: 3.253 MB / 3.711 GB, free: 147.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/11.82, allocations: 0.588 MB / 3.712 GB, free: 147.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/11.82, allocations: 347.7 kB / 3.712 GB, free: 147.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/11.82, allocations: 1.033 MB / 3.713 GB, free: 146.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/11.82, allocations: 461.1 kB / 3.714 GB, free: 146 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=55): time 4.057e-06/11.82, allocations: 0 / 3.714 GB, free: 146 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55): time 0.002999/11.83, allocations: 0.7546 MB / 3.715 GB, free: 145.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/11.83, allocations: 172.2 kB / 3.715 GB, free: 145.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/11.83, allocations: 0.9553 MB / 3.716 GB, free: 145.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003068/11.83, allocations: 42 kB / 3.716 GB, free: 145.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/11.83, allocations: 444.7 kB / 3.716 GB, free: 145.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/11.83, allocations: 185.5 kB / 3.716 GB, free: 145.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/11.83, allocations: 14.44 kB / 3.716 GB, free: 145.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/11.83, allocations: 326.4 kB / 3.717 GB, free: 145 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/11.83, allocations: 295.4 kB / 3.717 GB, free: 145 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/11.83, allocations: 0.4886 MB / 3.717 GB, free: 144.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/11.83, allocations: 377.5 kB / 3.718 GB, free: 144.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/11.83, allocations: 0 / 3.718 GB, free: 144.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002842/11.84, allocations: 0.8937 MB / 3.719 GB, free: 144.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/11.84, allocations: 42.69 kB / 3.719 GB, free: 144.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/11.84, allocations: 3 kB / 3.719 GB, free: 144.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/11.84, allocations: 8.859 kB / 3.719 GB, free: 144.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/11.84, allocations: 216.5 kB / 3.719 GB, free: 144.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/11.84, allocations: 7.781 kB / 3.719 GB, free: 144.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/11.84, allocations: 306.4 kB / 3.719 GB, free: 144.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/11.84, allocations: 54.75 kB / 3.719 GB, free: 144.6 MB / 0.8386 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 () * 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.0003823/11.84, allocations: 179.8 kB / 3.719 GB, free: 144.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/11.84, allocations: 118.7 kB / 3.719 GB, free: 144.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/11.85, allocations: 0.8411 MB / 3.72 GB, free: 144.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/11.85, allocations: 6.219 kB / 3.72 GB, free: 144.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/11.85, allocations: 4.594 kB / 3.72 GB, free: 144.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/11.85, allocations: 3.391 kB / 3.72 GB, free: 144.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007151/11.85, allocations: 2.923 MB / 3.723 GB, free: 143.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/11.85, allocations: 8.219 kB / 3.723 GB, free: 143.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/11.85, allocations: 122.2 kB / 3.723 GB, free: 143.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/11.85, allocations: 14.3 kB / 3.723 GB, free: 143.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/11.85, allocations: 21.08 kB / 3.723 GB, free: 143.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/11.85, allocations: 14.7 kB / 3.723 GB, free: 143.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/11.85, allocations: 14.56 kB / 3.723 GB, free: 143.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/11.86, allocations: 1.531 MB / 3.725 GB, free: 142.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/11.86, allocations: 328.1 kB / 3.725 GB, free: 142.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/11.86, allocations: 27.03 kB / 3.725 GB, free: 142.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/11.86, allocations: 126.8 kB / 3.725 GB, free: 142.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/11.86, allocations: 51.53 kB / 3.725 GB, free: 142.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/11.86, allocations: 37.89 kB / 3.725 GB, free: 142.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001861/11.86, allocations: 0.7776 MB / 3.726 GB, free: 142.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.92e-07/11.86, allocations: 2.438 kB / 3.726 GB, free: 142.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002603/11.87, allocations: 437 kB / 3.727 GB, free: 142.2 MB / 0.8386 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) * 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.005962/11.87, allocations: 5.578 MB / 3.732 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002174/11.87, allocations: 0.7725 MB / 3.733 GB, free: 138.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/11.87, allocations: 3.656 kB / 3.733 GB, free: 138.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009117/11.87, allocations: 433.7 kB / 3.733 GB, free: 138.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00563/11.88, allocations: 0.5213 MB / 3.734 GB, free: 138.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/11.89, allocations: 1.722 MB / 3.735 GB, free: 137.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/11.89, allocations: 1.082 MB / 3.736 GB, free: 136.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00192/11.89, allocations: 256.7 kB / 3.737 GB, free: 136.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007672/11.89, allocations: 370.3 kB / 3.737 GB, free: 136.8 MB / 0.8386 GB Notification: Performance of SimCode: time 1.332e-06/11.89, allocations: 0 / 3.737 GB, free: 136.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/12.07, allocations: 54.91 MB / 3.791 GB, free: 135.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/12.07, allocations: 221.5 kB / 3.791 GB, free: 135.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.001/17.07, allocations: 3.281 kB / 3.791 GB, free: 135.7 MB / 0.8386 GB