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.008986/0.008985, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001136/0.001136, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 1.921/1.921, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.249/2.249, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 16 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5394, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.541/7.08, allocations: 2.416 GB / 3.099 GB, free: 235.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/7.081, allocations: 88.52 kB / 3.099 GB, free: 235.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.921/10, allocations: 0.6322 GB / 3.731 GB, free: 136.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.038e-06/10, allocations: 0 / 3.731 GB, free: 136.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001303/10, allocations: 37.59 kB / 3.731 GB, free: 136.4 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.004595/10.01, allocations: 1.564 MB / 3.733 GB, free: 135.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/10.01, allocations: 8.688 kB / 3.733 GB, free: 135.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/10.01, allocations: 0.5384 MB / 3.733 GB, free: 135.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03438/10.04, allocations: 12.66 MB / 3.746 GB, free: 135.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00139/10.05, allocations: 327.6 kB / 3.746 GB, free: 135.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/10.05, allocations: 70.33 kB / 3.746 GB, free: 135.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/10.05, allocations: 1.147 MB / 3.747 GB, free: 135 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/10.05, allocations: 0 / 3.747 GB, free: 135 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/10.05, allocations: 27.81 kB / 3.747 GB, free: 135 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/10.05, allocations: 38.12 kB / 3.747 GB, free: 135 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004047/10.05, allocations: 1.233 MB / 3.749 GB, free: 135 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009079/10.06, allocations: 3.25 MB / 3.752 GB, free: 134 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/10.07, allocations: 0.7042 MB / 3.752 GB, free: 134 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/10.07, allocations: 1.03 MB / 3.753 GB, free: 132.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002265/10.07, allocations: 0.5101 MB / 3.754 GB, free: 132.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 6.328e-06/10.07, allocations: 3.219 kB / 3.754 GB, free: 132.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.007093/10.08, allocations: 1.249 MB / 3.755 GB, free: 132.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/10.08, allocations: 169.1 kB / 3.755 GB, free: 132.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/10.08, allocations: 1.088 MB / 3.756 GB, free: 132.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002139/10.08, allocations: 43.23 kB / 3.756 GB, free: 132.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006838/10.08, allocations: 451.9 kB / 3.757 GB, free: 132.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/10.08, allocations: 178.3 kB / 3.757 GB, free: 132 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/10.08, allocations: 13.91 kB / 3.757 GB, free: 132 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001111/10.08, allocations: 332.2 kB / 3.757 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/10.09, allocations: 480.5 kB / 3.758 GB, free: 131.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/10.09, allocations: 0.6669 MB / 3.758 GB, free: 131.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/10.09, allocations: 0.552 MB / 3.759 GB, free: 131.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/10.09, allocations: 6.062 kB / 3.759 GB, free: 131.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.007624/10.1, allocations: 1.247 MB / 3.76 GB, free: 131.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/10.1, allocations: 44.17 kB / 3.76 GB, free: 131.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/10.1, allocations: 4.625 kB / 3.76 GB, free: 131.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/10.1, allocations: 7.844 kB / 3.76 GB, free: 131.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/10.1, allocations: 208.7 kB / 3.76 GB, free: 131.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/10.1, allocations: 17.03 kB / 3.76 GB, free: 131.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003757/10.11, allocations: 304.5 kB / 3.761 GB, free: 131.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/10.11, allocations: 46.34 kB / 3.761 GB, free: 131.3 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.001176/10.11, allocations: 334.4 kB / 3.761 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/10.11, allocations: 114.9 kB / 3.761 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/10.11, allocations: 0.9436 MB / 3.762 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/10.11, allocations: 11.36 kB / 3.762 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/10.11, allocations: 0 / 3.762 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/10.11, allocations: 11.17 kB / 3.762 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/10.12, allocations: 3.024 MB / 3.765 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/10.12, allocations: 14.89 kB / 3.765 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/10.13, allocations: 120.9 kB / 3.765 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.579e-05/10.13, allocations: 10 kB / 3.765 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/10.13, allocations: 25.83 kB / 3.765 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.2e-05/10.13, allocations: 11.44 kB / 3.765 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-05/10.13, allocations: 11.03 kB / 3.765 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/10.13, allocations: 1.651 MB / 3.767 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/10.13, allocations: 328.6 kB / 3.767 GB, free: 129 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/10.13, allocations: 23.03 kB / 3.767 GB, free: 129 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/10.14, allocations: 127.6 kB / 3.767 GB, free: 129 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/10.14, allocations: 58.47 kB / 3.767 GB, free: 128.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/10.14, allocations: 43.31 kB / 3.768 GB, free: 128.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003736/10.14, allocations: 0.9087 MB / 3.768 GB, free: 128.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.281e-06/10.14, allocations: 0 / 3.768 GB, free: 128.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003392/10.14, allocations: 437.6 kB / 3.769 GB, free: 128.8 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.002417/10.15, allocations: 1.587 MB / 3.77 GB, free: 128.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003192/10.15, allocations: 1.019 MB / 3.771 GB, free: 128.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/10.15, allocations: 3.188 kB / 3.771 GB, free: 128.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/10.15, allocations: 489.4 kB / 3.772 GB, free: 128.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/10.15, allocations: 0.5155 MB / 3.772 GB, free: 128.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/10.16, allocations: 2.17 MB / 3.774 GB, free: 127.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/10.16, allocations: 1.085 MB / 3.776 GB, free: 126.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00173/10.16, allocations: 264.6 kB / 3.776 GB, free: 126.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/10.16, allocations: 87.38 kB / 3.776 GB, free: 126.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.656e-06/10.16, allocations: 0 / 3.776 GB, free: 126.5 MB / 0.823 GB Notification: Performance of Templates: time 0.07413/10.23, allocations: 36.72 MB / 3.812 GB, free: 125.3 MB / 0.823 GB