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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01697/0.01698, allocations: 106.2 kB / 15.05 MB, free: 5.984 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.002176/0.002177, allocations: 183.8 kB / 15.94 MB, free: 5.941 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 2.288/2.288, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.221/2.221, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004786, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6696, allocations: 98.71 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.718/8.388, allocations: 2.416 GB / 3.099 GB, free: 232.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/8.388, allocations: 89.14 kB / 3.099 GB, free: 232.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.356/11.74, allocations: 0.6322 GB / 3.731 GB, free: 135.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.545e-06/11.74, allocations: 1.094 kB / 3.731 GB, free: 135.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001643/11.74, allocations: 35.27 kB / 3.731 GB, free: 135.5 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.007064/11.75, allocations: 1.572 MB / 3.733 GB, free: 134.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/11.75, allocations: 10.84 kB / 3.733 GB, free: 134.9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004385/11.75, allocations: 120.1 kB / 3.733 GB, free: 134.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005007/11.76, allocations: 0.5334 MB / 3.734 GB, free: 134.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03877/11.8, allocations: 12.66 MB / 3.746 GB, free: 134.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002298/11.8, allocations: 322.3 kB / 3.746 GB, free: 134.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/11.8, allocations: 71.03 kB / 3.746 GB, free: 134.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004527/11.8, allocations: 1.142 MB / 3.748 GB, free: 134 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/11.8, allocations: 2.25 kB / 3.748 GB, free: 134 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/11.8, allocations: 30.16 kB / 3.748 GB, free: 134 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-05/11.8, allocations: 42.08 kB / 3.748 GB, free: 134 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006044/11.81, allocations: 1.228 MB / 3.749 GB, free: 133.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/11.82, allocations: 3.247 MB / 3.752 GB, free: 133 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/11.82, allocations: 0.7007 MB / 3.753 GB, free: 133 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/11.83, allocations: 1.03 MB / 3.754 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/11.83, allocations: 0.5149 MB / 3.754 GB, free: 131.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 4.418e-06/11.83, allocations: 0 / 3.754 GB, free: 131.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.005324/11.83, allocations: 1.249 MB / 3.755 GB, free: 131.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/11.83, allocations: 168.1 kB / 3.756 GB, free: 131.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/11.84, allocations: 1.09 MB / 3.757 GB, free: 131.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002771/11.84, allocations: 42.3 kB / 3.757 GB, free: 131.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/11.84, allocations: 456.5 kB / 3.757 GB, free: 131 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/11.84, allocations: 184.8 kB / 3.757 GB, free: 130.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/11.84, allocations: 7.688 kB / 3.757 GB, free: 130.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/11.84, allocations: 338.9 kB / 3.758 GB, free: 130.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/11.84, allocations: 481.4 kB / 3.758 GB, free: 130.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/11.84, allocations: 0.6676 MB / 3.759 GB, free: 130.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/11.85, allocations: 0.5366 MB / 3.759 GB, free: 130.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/11.85, allocations: 3.812 kB / 3.759 GB, free: 130.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005995/11.85, allocations: 1.258 MB / 3.76 GB, free: 130.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/11.85, allocations: 34.98 kB / 3.76 GB, free: 130.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/11.85, allocations: 3.031 kB / 3.76 GB, free: 130.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/11.85, allocations: 6.031 kB / 3.76 GB, free: 130.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/11.85, allocations: 228 kB / 3.761 GB, free: 130.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.927e-05/11.85, allocations: 3.75 kB / 3.761 GB, free: 130.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/11.86, allocations: 313.4 kB / 3.761 GB, free: 130.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/11.86, allocations: 48.38 kB / 3.761 GB, free: 130.2 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.0008608/11.86, allocations: 335.2 kB / 3.761 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/11.86, allocations: 120.5 kB / 3.761 GB, free: 130 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/11.86, allocations: 0.9396 MB / 3.762 GB, free: 129.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/11.86, allocations: 12.23 kB / 3.762 GB, free: 129.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/11.86, allocations: 3.953 kB / 3.762 GB, free: 129.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/11.86, allocations: 6.062 kB / 3.762 GB, free: 129.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00801/11.87, allocations: 3.035 MB / 3.765 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/11.87, allocations: 7.5 kB / 3.765 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/11.87, allocations: 112.8 kB / 3.765 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/11.87, allocations: 11.78 kB / 3.766 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-05/11.87, allocations: 25.12 kB / 3.766 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/11.87, allocations: 18.62 kB / 3.766 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/11.87, allocations: 13.81 kB / 3.766 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/11.88, allocations: 1.639 MB / 3.767 GB, free: 128.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009387/11.88, allocations: 328.9 kB / 3.767 GB, free: 127.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/11.88, allocations: 27.28 kB / 3.767 GB, free: 127.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/11.88, allocations: 124.6 kB / 3.768 GB, free: 127.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/11.88, allocations: 59.33 kB / 3.768 GB, free: 127.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/11.88, allocations: 37.72 kB / 3.768 GB, free: 127.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002807/11.88, allocations: 0.9107 MB / 3.769 GB, free: 127.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.42e-07/11.88, allocations: 0 / 3.769 GB, free: 127.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002434/11.89, allocations: 439.1 kB / 3.769 GB, free: 127.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.007357/11.89, allocations: 5.679 MB / 3.775 GB, free: 123.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004436/11.9, allocations: 1.013 MB / 3.776 GB, free: 123.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/11.9, allocations: 7.438 kB / 3.776 GB, free: 123.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/11.9, allocations: 485.6 kB / 3.776 GB, free: 123.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004935/11.9, allocations: 0.5212 MB / 3.777 GB, free: 123.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/11.93, allocations: 8.888 MB / 3.785 GB, free: 119.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/11.93, allocations: 1.088 MB / 3.786 GB, free: 118.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002092/11.93, allocations: 261.1 kB / 3.787 GB, free: 118.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009604/11.93, allocations: 359.2 kB / 3.787 GB, free: 118.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.753e-06/11.93, allocations: 5.5 kB / 3.787 GB, free: 118.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/12.05, allocations: 51.46 MB / 3.837 GB, free: 116.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/12.05, allocations: 239.2 kB / 3.837 GB, free: 116.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.044/17.09, allocations: 2.953 kB / 3.837 GB, free: 116.7 MB / 0.823 GB