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/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.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 3.964/3.964, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.514e-05, allocations: 6.172 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2228, allocations: 98.74 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.946/7.169, allocations: 2.196 GB / 2.831 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/7.169, allocations: 88.2 kB / 2.831 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.747/11.92, allocations: 0.8892 GB / 3.72 GB, free: 122.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.154e-06/11.92, allocations: 0 / 3.72 GB, free: 122.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001687/11.92, allocations: 41.02 kB / 3.72 GB, free: 122.8 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.004795/11.92, allocations: 1.533 MB / 3.722 GB, free: 122.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/11.92, allocations: 7.5 kB / 3.722 GB, free: 122.1 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00033/11.92, allocations: 129.7 kB / 3.722 GB, free: 122 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/11.93, allocations: 414.2 kB / 3.722 GB, free: 122 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/11.93, allocations: 1.091 MB / 3.723 GB, free: 121.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/11.93, allocations: 64.78 kB / 3.723 GB, free: 121.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/11.93, allocations: 85.25 kB / 3.723 GB, free: 121.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/11.93, allocations: 0.8032 MB / 3.724 GB, free: 121.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/11.93, allocations: 0 / 3.724 GB, free: 121.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/11.93, allocations: 29.34 kB / 3.724 GB, free: 121.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/11.93, allocations: 27.5 kB / 3.724 GB, free: 121.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/11.93, allocations: 0.7339 MB / 3.725 GB, free: 121.5 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.007576/11.94, allocations: 3.67 MB / 3.729 GB, free: 119.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/11.94, allocations: 1.079 MB / 3.73 GB, free: 119.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007394/11.94, allocations: 353.8 kB / 3.73 GB, free: 119.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008721/11.95, allocations: 404.5 kB / 3.73 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/11.95, allocations: 44.72 kB / 3.73 GB, free: 118.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 3.296e-06/11.95, allocations: 0 / 3.73 GB, free: 118.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.002219/11.95, allocations: 0.6676 MB / 3.731 GB, free: 118.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/11.95, allocations: 62.09 kB / 3.731 GB, free: 118.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/11.95, allocations: 0.7074 MB / 3.732 GB, free: 118.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/11.95, allocations: 42.61 kB / 3.732 GB, free: 118.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/11.95, allocations: 479.2 kB / 3.732 GB, free: 118.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/11.95, allocations: 219.3 kB / 3.733 GB, free: 118.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/11.95, allocations: 9.25 kB / 3.733 GB, free: 118.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.382e-05/11.95, allocations: 335.1 kB / 3.733 GB, free: 117.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/11.95, allocations: 223.9 kB / 3.733 GB, free: 117.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/11.95, allocations: 381.9 kB / 3.733 GB, free: 117.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/11.95, allocations: 274.7 kB / 3.734 GB, free: 117.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/11.95, allocations: 6.844 kB / 3.734 GB, free: 117.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001748/11.95, allocations: 0.6819 MB / 3.734 GB, free: 117.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/11.95, allocations: 455 kB / 3.735 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/11.95, allocations: 5.938 kB / 3.735 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/11.95, allocations: 2.906 kB / 3.735 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/11.96, allocations: 137.2 kB / 3.735 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/11.96, allocations: 1.156 kB / 3.735 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/11.96, allocations: 130.8 kB / 3.735 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/11.96, allocations: 22.41 kB / 3.735 GB, free: 117.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/11.96, allocations: 7.781 kB / 3.735 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/11.96, allocations: 0.5681 MB / 3.736 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/11.96, allocations: 0 / 3.736 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/11.96, allocations: 9.812 kB / 3.736 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/11.96, allocations: 133.9 kB / 3.736 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/11.96, allocations: 8.969 kB / 3.736 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/11.96, allocations: 133.1 kB / 3.736 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/11.96, allocations: 26.78 kB / 3.736 GB, free: 117.1 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.00024/11.96, allocations: 133.1 kB / 3.736 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/11.96, allocations: 99.25 kB / 3.736 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/11.96, allocations: 0.7209 MB / 3.737 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/11.96, allocations: 11.92 kB / 3.737 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/11.96, allocations: 10.16 kB / 3.737 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/11.97, allocations: 0.8694 MB / 3.738 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/11.97, allocations: 2.172 MB / 3.74 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/11.97, allocations: 7.453 kB / 3.74 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/11.97, allocations: 151.3 kB / 3.74 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/11.97, allocations: 11.3 kB / 3.74 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/11.97, allocations: 15.5 kB / 3.74 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/11.97, allocations: 11.48 kB / 3.74 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/11.97, allocations: 3.875 kB / 3.74 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/11.97, allocations: 1.316 MB / 3.741 GB, free: 114.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/11.98, allocations: 262.1 kB / 3.742 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/11.98, allocations: 22.16 kB / 3.742 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/11.98, allocations: 136.2 kB / 3.742 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/11.98, allocations: 43.83 kB / 3.742 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/11.98, allocations: 26.61 kB / 3.742 GB, free: 114.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001118/11.98, allocations: 0.5605 MB / 3.742 GB, free: 113.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.61e-07/11.98, allocations: 0 / 3.742 GB, free: 113.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002925/11.98, allocations: 0.7747 MB / 3.743 GB, free: 113.6 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.007075/11.99, allocations: 4.973 MB / 3.748 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002433/11.99, allocations: 0.9031 MB / 3.749 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/11.99, allocations: 4 kB / 3.749 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/11.99, allocations: 317.2 kB / 3.749 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006099/12, allocations: 0.6772 MB / 3.75 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/12, allocations: 2.003 MB / 3.752 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/12, allocations: 1.151 MB / 3.753 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002558/12.01, allocations: 378.2 kB / 3.753 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000801/12.01, allocations: 394.9 kB / 3.754 GB, free: 107.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.603e-06/12.01, allocations: 0 / 3.754 GB, free: 107.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/12.15, allocations: 71.06 MB / 3.823 GB, free: 38.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/12.16, allocations: 201.9 kB / 3.823 GB, free: 38.46 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.841/18, allocations: 0 / 3.823 GB, free: 38.46 MB / 0.823 GB