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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.057/4.057, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.23e-05, allocations: 5.859 kB / 0.5325 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2221, allocations: 98.73 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.797/8.019, allocations: 2.425 GB / 3.054 GB, free: 213.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/8.019, allocations: 83.77 kB / 3.054 GB, free: 213.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.275/11.29, allocations: 0.6245 GB / 3.679 GB, free: 156.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.364e-06/11.29, allocations: 0 / 3.679 GB, free: 156.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001422/11.29, allocations: 35.34 kB / 3.679 GB, free: 156.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.005993/11.3, allocations: 1.413 MB / 3.68 GB, free: 155.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/11.3, allocations: 8.375 kB / 3.68 GB, free: 155.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/11.31, allocations: 0.533 MB / 3.681 GB, free: 155.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04072/11.35, allocations: 12.56 MB / 3.693 GB, free: 155.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002181/11.35, allocations: 291 kB / 3.693 GB, free: 155.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/11.35, allocations: 44.69 kB / 3.693 GB, free: 155.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00208/11.35, allocations: 0.7551 MB / 3.694 GB, free: 155.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/11.35, allocations: 0.8626 MB / 3.695 GB, free: 154.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/11.35, allocations: 0 / 3.695 GB, free: 154.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/11.35, allocations: 3.656 kB / 3.695 GB, free: 154.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/11.35, allocations: 35.47 kB / 3.695 GB, free: 154.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009882/11.36, allocations: 3.436 MB / 3.698 GB, free: 153.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/11.36, allocations: 0.5556 MB / 3.699 GB, free: 153.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/11.37, allocations: 307.7 kB / 3.699 GB, free: 153.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000813/11.37, allocations: 0.7016 MB / 3.7 GB, free: 152.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/11.37, allocations: 454.8 kB / 3.7 GB, free: 152.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 4.889e-06/11.37, allocations: 0 / 3.7 GB, free: 152.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.002649/11.37, allocations: 0.7133 MB / 3.701 GB, free: 152.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/11.37, allocations: 169.3 kB / 3.701 GB, free: 152.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/11.37, allocations: 0.6789 MB / 3.702 GB, free: 152.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001961/11.37, allocations: 28.42 kB / 3.702 GB, free: 152.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/11.37, allocations: 478 kB / 3.702 GB, free: 152.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/11.37, allocations: 162.9 kB / 3.702 GB, free: 152.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/11.37, allocations: 3.812 kB / 3.702 GB, free: 152.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/11.37, allocations: 330.5 kB / 3.703 GB, free: 151.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/11.37, allocations: 296.6 kB / 3.703 GB, free: 151.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/11.37, allocations: 0.5032 MB / 3.703 GB, free: 151.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/11.38, allocations: 399.3 kB / 3.704 GB, free: 151.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/11.38, allocations: 0 / 3.704 GB, free: 151.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003095/11.38, allocations: 0.8946 MB / 3.705 GB, free: 151.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/11.38, allocations: 44.33 kB / 3.705 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/11.38, allocations: 0 / 3.705 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/11.38, allocations: 7.25 kB / 3.705 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/11.38, allocations: 225.9 kB / 3.705 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/11.38, allocations: 8.312 kB / 3.705 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/11.38, allocations: 268 kB / 3.705 GB, free: 151.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/11.38, allocations: 50.48 kB / 3.705 GB, free: 151.4 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.0003149/11.38, allocations: 163.1 kB / 3.705 GB, free: 151.3 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001828/11.39, allocations: 0.6684 MB / 3.706 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/11.39, allocations: 91.19 kB / 3.706 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/11.39, allocations: 0.7198 MB / 3.707 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/11.39, allocations: 6.844 kB / 3.707 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/11.39, allocations: 3.625 kB / 3.707 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/11.39, allocations: 3.797 kB / 3.707 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005618/11.39, allocations: 2.767 MB / 3.71 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/11.39, allocations: 10.95 kB / 3.71 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/11.4, allocations: 120.8 kB / 3.71 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/11.4, allocations: 11.31 kB / 3.71 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/11.4, allocations: 17.78 kB / 3.71 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/11.4, allocations: 16.59 kB / 3.71 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/11.4, allocations: 11.03 kB / 3.71 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/11.4, allocations: 1.413 MB / 3.711 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/11.4, allocations: 299.4 kB / 3.711 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/11.4, allocations: 19.27 kB / 3.711 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/11.4, allocations: 113.7 kB / 3.711 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/11.4, allocations: 61.06 kB / 3.712 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/11.4, allocations: 44.52 kB / 3.712 GB, free: 149.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000894/11.4, allocations: 0.52 MB / 3.712 GB, free: 149.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.62e-07/11.4, allocations: 0 / 3.712 GB, free: 149.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002025/11.4, allocations: 406.1 kB / 3.712 GB, free: 149.1 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.005484/11.41, allocations: 5.585 MB / 3.718 GB, free: 145.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001882/11.41, allocations: 0.774 MB / 3.719 GB, free: 145.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/11.41, allocations: 3.469 kB / 3.719 GB, free: 145.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008151/11.41, allocations: 425.8 kB / 3.719 GB, free: 145.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/11.42, allocations: 338.6 kB / 3.719 GB, free: 145.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/11.42, allocations: 1.605 MB / 3.721 GB, free: 144.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/11.42, allocations: 1.086 MB / 3.722 GB, free: 143.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00186/11.42, allocations: 241.1 kB / 3.722 GB, free: 143.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008119/11.42, allocations: 355.5 kB / 3.723 GB, free: 143.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.192e-06/11.42, allocations: 0 / 3.723 GB, free: 143.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/11.54, allocations: 33.6 MB / 3.755 GB, free: 139.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/11.54, allocations: 203.3 kB / 3.756 GB, free: 139.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/15.71, allocations: 0 / 3.756 GB, free: 139.6 MB / 0.823 GB