Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.082/4.082, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.542e-05, allocations: 4.25 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2399, allocations: 98.74 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.02/7.26, allocations: 2.196 GB / 2.824 GB, free: 139.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/7.261, allocations: 86.92 kB / 2.825 GB, free: 139.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.746/12.01, allocations: 0.8791 GB / 3.704 GB, free: 126.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.964e-06/12.01, allocations: 0 / 3.704 GB, free: 126.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001836/12.01, allocations: 38.95 kB / 3.704 GB, free: 126.3 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.005124/12.01, allocations: 1.528 MB / 3.705 GB, free: 125.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/12.01, allocations: 7.469 kB / 3.705 GB, free: 125.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/12.02, allocations: 412.7 kB / 3.705 GB, free: 125.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/12.02, allocations: 1.09 MB / 3.707 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/12.02, allocations: 26.94 kB / 3.707 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/12.02, allocations: 54.8 kB / 3.707 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001901/12.02, allocations: 0.6933 MB / 3.707 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/12.02, allocations: 0.6849 MB / 3.708 GB, free: 125.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/12.02, allocations: 0 / 3.708 GB, free: 125.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/12.02, allocations: 3.312 kB / 3.708 GB, free: 125.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/12.02, allocations: 31.94 kB / 3.708 GB, free: 125.1 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007357/12.03, allocations: 3.502 MB / 3.711 GB, free: 123.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/12.03, allocations: 1.062 MB / 3.712 GB, free: 123 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007875/12.03, allocations: 326.5 kB / 3.713 GB, free: 123 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009351/12.04, allocations: 403.9 kB / 3.713 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/12.04, allocations: 39.88 kB / 3.713 GB, free: 122.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 3.968e-06/12.04, allocations: 0 / 3.713 GB, free: 122.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.003096/12.04, allocations: 0.7134 MB / 3.714 GB, free: 122.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/12.04, allocations: 60.16 kB / 3.714 GB, free: 122.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/12.04, allocations: 0.6034 MB / 3.715 GB, free: 122.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/12.04, allocations: 29.64 kB / 3.715 GB, free: 122.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/12.04, allocations: 489.9 kB / 3.715 GB, free: 122.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000351/12.04, allocations: 208 kB / 3.715 GB, free: 122 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/12.04, allocations: 2.844 kB / 3.715 GB, free: 122 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/12.04, allocations: 332.5 kB / 3.716 GB, free: 121.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/12.04, allocations: 206.2 kB / 3.716 GB, free: 121.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/12.04, allocations: 359.6 kB / 3.716 GB, free: 121.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/12.04, allocations: 346.1 kB / 3.716 GB, free: 121.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/12.04, allocations: 6.891 kB / 3.716 GB, free: 121.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002358/12.05, allocations: 0.7111 MB / 3.717 GB, free: 121.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/12.05, allocations: 452.6 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/12.05, allocations: 2.594 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/12.05, allocations: 3.594 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/12.05, allocations: 140 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/12.05, allocations: 3.531 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/12.05, allocations: 113.9 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/12.05, allocations: 22.47 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/12.05, allocations: 3.688 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001781/12.05, allocations: 0.5756 MB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/12.05, allocations: 3.375 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/12.05, allocations: 6.719 kB / 3.718 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/12.05, allocations: 135.7 kB / 3.719 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/12.05, allocations: 4.906 kB / 3.719 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/12.05, allocations: 112.7 kB / 3.719 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/12.06, allocations: 24.83 kB / 3.719 GB, free: 121 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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.0002549/12.06, allocations: 116.4 kB / 3.719 GB, free: 120.9 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001963/12.06, allocations: 0.6614 MB / 3.719 GB, free: 120.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/12.06, allocations: 96.2 kB / 3.72 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/12.06, allocations: 0.7433 MB / 3.72 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/12.06, allocations: 13.33 kB / 3.72 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/12.06, allocations: 0 / 3.72 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001672/12.06, allocations: 0.9097 MB / 3.721 GB, free: 120.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005386/12.07, allocations: 2.077 MB / 3.723 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/12.07, allocations: 0 / 3.723 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/12.07, allocations: 153.6 kB / 3.723 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/12.07, allocations: 7.594 kB / 3.723 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/12.07, allocations: 14.53 kB / 3.723 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/12.07, allocations: 8.062 kB / 3.723 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/12.07, allocations: 5.312 kB / 3.723 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/12.07, allocations: 1.329 MB / 3.725 GB, free: 119.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008427/12.07, allocations: 256 kB / 3.725 GB, free: 119 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/12.07, allocations: 6.125 kB / 3.725 GB, free: 119 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/12.07, allocations: 128.6 kB / 3.725 GB, free: 119 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/12.07, allocations: 45.39 kB / 3.725 GB, free: 119 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/12.07, allocations: 26.62 kB / 3.725 GB, free: 119 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000912/12.08, allocations: 473.5 kB / 3.726 GB, free: 118.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.254e-06/12.08, allocations: 0 / 3.726 GB, free: 118.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003585/12.08, allocations: 0.696 MB / 3.726 GB, free: 118.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.009694/12.09, allocations: 5.259 MB / 3.731 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003087/12.09, allocations: 0.852 MB / 3.732 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/12.09, allocations: 0 / 3.732 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/12.09, allocations: 298.1 kB / 3.732 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04213/12.14, allocations: 0.6135 MB / 3.733 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/12.16, allocations: 1.928 MB / 3.735 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/12.16, allocations: 1.148 MB / 3.736 GB, free: 114.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002635/12.16, allocations: 350.2 kB / 3.736 GB, free: 114.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008184/12.16, allocations: 396.7 kB / 3.737 GB, free: 114.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.273e-06/12.16, allocations: 0 / 3.737 GB, free: 114.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/12.28, allocations: 45.33 MB / 3.781 GB, free: 105.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/12.29, allocations: 178.1 kB / 3.781 GB, free: 105.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.646/16.93, allocations: 8 kB / 3.781 GB, free: 105.2 MB / 0.823 GB