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.Pipe.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.Pipe,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.199/4.199, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.306e-05/4.319e-05, allocations: 5.453 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.431, allocations: 415.2 MB / 1.04 GB, free: 8.02 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.432, allocations: 89.39 kB / 1.04 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.449/5.88, allocations: 0.7428 GB / 1.783 GB, free: 131.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.486e-06/5.88, allocations: 3.656 kB / 1.783 GB, free: 131.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001562/5.882, allocations: 184.3 kB / 1.783 GB, free: 131.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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02978/5.912, allocations: 5.612 MB / 1.789 GB, free: 130 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/5.912, allocations: 11.5 kB / 1.789 GB, free: 130 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003469/5.915, allocations: 0.7052 MB / 1.789 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006452/5.922, allocations: 0.8329 MB / 1.79 GB, free: 129.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07677/5.999, allocations: 22.56 MB / 1.812 GB, free: 128 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006806/5.999, allocations: 425.4 kB / 1.813 GB, free: 128 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/6.002, allocations: 0.5061 MB / 1.813 GB, free: 128 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/6.026, allocations: 6.806 MB / 1.82 GB, free: 127.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004056/6.026, allocations: 24.06 kB / 1.82 GB, free: 127.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002074/6.028, allocations: 217.1 kB / 1.82 GB, free: 127.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002715/6.029, allocations: 172.5 kB / 1.82 GB, free: 127.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/6.046, allocations: 5.339 MB / 1.825 GB, free: 127.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.06083/6.107, allocations: 29.57 MB / 1.854 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009441/6.117, allocations: 3.348 MB / 1.858 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004054/6.121, allocations: 1.69 MB / 1.859 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/6.122, allocations: 0.9716 MB / 1.86 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.346e-05/6.122, allocations: 71.75 kB / 1.86 GB, free: 112.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=251): time 5.45e-06/6.122, allocations: 0 / 1.86 GB, free: 112.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.009758/6.132, allocations: 3.124 MB / 1.863 GB, free: 112.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/6.132, allocations: 81.38 kB / 1.863 GB, free: 112.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/6.148, allocations: 5.697 MB / 1.869 GB, free: 112 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007519/6.149, allocations: 76.98 kB / 1.869 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004599/6.153, allocations: 2.99 MB / 1.872 GB, free: 111 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/6.155, allocations: 0.8937 MB / 1.873 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/6.156, allocations: 74.06 kB / 1.873 GB, free: 110.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003459/6.156, allocations: 447.1 kB / 1.873 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003985/6.16, allocations: 1.455 MB / 1.875 GB, free: 110.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/6.165, allocations: 2.605 MB / 1.877 GB, free: 108.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/6.17, allocations: 2.08 MB / 1.879 GB, free: 107.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-05/6.171, allocations: 11.16 kB / 1.879 GB, free: 107.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01456/6.185, allocations: 4.662 MB / 1.884 GB, free: 106.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0038/6.189, allocations: 17.16 MB / 1.901 GB, free: 88.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/6.189, allocations: 33.75 kB / 1.901 GB, free: 88.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/6.189, allocations: 60.03 kB / 1.901 GB, free: 88.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006809/6.196, allocations: 0.8822 MB / 1.902 GB, free: 88.01 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008479/6.197, allocations: 1.254 MB / 1.903 GB, free: 86.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008718/6.206, allocations: 0.579 MB / 1.903 GB, free: 86.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009534/6.207, allocations: 168.4 kB / 1.904 GB, free: 86.46 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/6.207, allocations: 6.281 kB / 1.904 GB, free: 86.46 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01163/6.218, allocations: 4.154 MB / 1.908 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.38e-05/6.219, allocations: 36.16 kB / 1.908 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.02e-05/6.219, allocations: 60.94 kB / 1.908 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00663/6.225, allocations: 0.8615 MB / 1.909 GB, free: 84.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/6.225, allocations: 80.25 kB / 1.909 GB, free: 84.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008392/6.234, allocations: 0.519 MB / 1.909 GB, free: 84.62 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009743/6.235, allocations: 164.5 kB / 1.909 GB, free: 84.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001088/6.236, allocations: 327 kB / 1.91 GB, free: 84.32 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002222/6.238, allocations: 0.5465 MB / 1.91 GB, free: 84.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/6.249, allocations: 3.624 MB / 1.914 GB, free: 82.74 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/6.249, allocations: 27.66 kB / 1.914 GB, free: 82.74 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/6.249, allocations: 3.953 kB / 1.914 GB, free: 82.73 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006869/6.256, allocations: 2.727 MB / 1.916 GB, free: 81.79 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/6.283, allocations: 9.1 MB / 1.925 GB, free: 78.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/6.283, allocations: 0 / 1.925 GB, free: 78.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004968/6.288, allocations: 0.5392 MB / 1.926 GB, free: 78.35 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-05/6.288, allocations: 7.875 kB / 1.926 GB, free: 78.35 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005359/6.288, allocations: 82.42 kB / 1.926 GB, free: 78.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005986/6.289, allocations: 1.178 MB / 1.927 GB, free: 77.13 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/6.289, allocations: 3.031 kB / 1.927 GB, free: 77.13 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/6.302, allocations: 5.432 MB / 1.932 GB, free: 74.97 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005174/6.307, allocations: 1.256 MB / 1.934 GB, free: 74.27 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/6.31, allocations: 69.02 kB / 1.934 GB, free: 74.22 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006749/6.316, allocations: 260 kB / 1.934 GB, free: 74.16 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006723/6.317, allocations: 151.8 kB / 1.934 GB, free: 74.13 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003489/6.317, allocations: 86.38 kB / 1.934 GB, free: 74.12 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01115/6.329, allocations: 4.478 MB / 1.938 GB, free: 70.46 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.72e-07/6.329, allocations: 0 / 1.938 GB, free: 70.46 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01578/6.344, allocations: 3.228 MB / 1.942 GB, free: 67.23 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/6.36, allocations: 6.647 MB / 1.948 GB, free: 61.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01418/6.374, allocations: 5.796 MB / 1.954 GB, free: 56.14 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/6.374, allocations: 0.9375 kB / 1.954 GB, free: 56.14 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/6.378, allocations: 1.522 MB / 1.955 GB, free: 54.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03059/6.409, allocations: 3.862 MB / 1.959 GB, free: 52.05 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03954/6.448, allocations: 13.63 MB / 1.972 GB, free: 40.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008347/6.457, allocations: 4.636 MB / 1.977 GB, free: 36.91 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.02815/6.485, allocations: 4.998 MB / 1.982 GB, free: 33.83 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007374/6.492, allocations: 2.46 MB / 1.984 GB, free: 31.57 MB / 0.823 GB Notification: Performance of SimCode: time 1.723e-06/6.492, allocations: 0 / 1.984 GB, free: 31.57 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.067/7.559, allocations: 181 MB / 2.161 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/7.559, allocations: 228.1 kB / 2.161 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/17.81, allocations: 4 kB / 2.161 GB, free: 143.2 MB / 0.8542 GB