Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.675/1.675, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005048, allocations: 8 kB / 233.3 MB, free: 2.281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09288, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9015/0.9945, allocations: 272 MB / 0.5314 GB, free: 40.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.9948, allocations: 76.59 kB / 0.5315 GB, free: 40.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.866/10.86, allocations: 1.636 GB / 2.167 GB, free: 30.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.675e-06/10.86, allocations: 1.344 kB / 2.167 GB, free: 30.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001058/10.86, allocations: 196.1 kB / 2.167 GB, free: 30.71 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.05584/10.92, allocations: 11.09 MB / 2.178 GB, free: 25.85 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/10.92, allocations: 14.33 kB / 2.178 GB, free: 25.85 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005476/10.92, allocations: 0.7868 MB / 2.179 GB, free: 25.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/10.94, allocations: 1.246 MB / 2.18 GB, free: 25.37 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03075/10.97, allocations: 6.347 MB / 2.186 GB, free: 24.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000959/10.97, allocations: 429.9 kB / 2.187 GB, free: 24.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003826/10.97, allocations: 0.5393 MB / 2.187 GB, free: 24.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03832/11.01, allocations: 9.446 MB / 2.197 GB, free: 22.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000334/11.01, allocations: 22.31 kB / 2.197 GB, free: 22.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00369/11.02, allocations: 247 kB / 2.197 GB, free: 22.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001425/11.02, allocations: 0.5984 MB / 2.197 GB, free: 22.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/11.05, allocations: 8.121 MB / 2.205 GB, free: 22.83 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.0956/11.14, allocations: 34.92 MB / 2.239 GB, free: 7.844 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01962/11.16, allocations: 6.173 MB / 2.245 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009875/11.17, allocations: 4.758 MB / 2.25 GB, free: 2.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/11.17, allocations: 96.83 kB / 2.25 GB, free: 2.727 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01261/11.19, allocations: 1.674 MB / 2.252 GB, free: 2.461 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 2.925e-05/11.19, allocations: 3 kB / 2.252 GB, free: 2.461 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.3149/11.5, allocations: 50.78 MB / 2.301 GB, free: 8.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/11.5, allocations: 167.8 kB / 2.302 GB, free: 7.898 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/11.51, allocations: 4.182 MB / 2.306 GB, free: 4.418 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002395/11.52, allocations: 141.7 kB / 2.306 GB, free: 4.273 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004309/11.52, allocations: 2.971 MB / 2.309 GB, free: 1.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004648/11.53, allocations: 2.173 MB / 2.311 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001383/11.53, allocations: 140 kB / 2.311 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006566/11.53, allocations: 0.5925 MB / 2.312 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01271/11.54, allocations: 3.926 MB / 2.315 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01563/11.56, allocations: 5.603 MB / 2.321 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/11.57, allocations: 4.867 MB / 2.326 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.298e-05/11.57, allocations: 16 kB / 2.326 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.5297/12.1, allocations: 13.1 MB / 2.338 GB, free: 52.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004894/12.11, allocations: 21.31 MB / 2.359 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002033/12.11, allocations: 43.88 kB / 2.359 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05338/12.16, allocations: 5.18 MB / 2.364 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/12.17, allocations: 1.371 MB / 2.366 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/12.19, allocations: 17.41 MB / 2.383 GB, free: 18.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01385/12.21, allocations: 0.5007 MB / 2.383 GB, free: 18.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003258/12.21, allocations: 424.9 kB / 2.384 GB, free: 18.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/12.21, allocations: 4.062 kB / 2.384 GB, free: 18.42 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0455/12.26, allocations: 12 MB / 2.395 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/12.26, allocations: 44.59 kB / 2.395 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01813/12.27, allocations: 3.285 MB / 2.399 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/12.29, allocations: 1.392 MB / 2.4 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03261/12.32, allocations: 22.16 MB / 2.422 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/12.33, allocations: 0.4967 MB / 2.422 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003034/12.33, allocations: 410.1 kB / 2.422 GB, free: 5.105 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.008499/12.34, allocations: 1.932 MB / 2.424 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002716/12.34, allocations: 0.639 MB / 2.425 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05217/12.4, allocations: 13.49 MB / 2.438 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001147/12.4, allocations: 67.7 kB / 2.438 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.657e-05/12.4, allocations: 2.953 kB / 2.438 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03245/12.43, allocations: 9.657 MB / 2.448 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0828/12.51, allocations: 24.81 MB / 2.472 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001026/12.51, allocations: 15.84 kB / 2.472 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007925/12.52, allocations: 0.8629 MB / 2.473 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04605/12.57, allocations: 5.465 MB / 2.478 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002224/12.57, allocations: 228.5 kB / 2.478 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02326/12.59, allocations: 17.4 MB / 2.495 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-05/12.59, allocations: 18.66 kB / 2.495 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0532/12.65, allocations: 19.18 MB / 2.514 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00792/12.65, allocations: 1.717 MB / 2.516 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003555/12.66, allocations: 165.7 kB / 2.516 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01029/12.67, allocations: 331.5 kB / 2.516 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002374/12.67, allocations: 461.7 kB / 2.517 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001606/12.67, allocations: 319.8 kB / 2.517 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00882/12.68, allocations: 3.135 MB / 2.52 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.12e-07/12.68, allocations: 0.7656 kB / 2.52 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.06161/12.74, allocations: 7.493 MB / 2.527 GB, free: 0 / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.55/13.29, allocations: 26.49 MB / 2.553 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05273/13.34, allocations: 15.66 MB / 2.568 GB, free: 75.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.39e-05/13.35, allocations: 9.438 kB / 2.568 GB, free: 75.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01751/13.36, allocations: 4.871 MB / 2.573 GB, free: 74.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02345/13.39, allocations: 2.578 MB / 2.576 GB, free: 74.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07512/13.46, allocations: 58.19 MB / 2.633 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009374/13.47, allocations: 4.508 MB / 2.637 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02833/13.5, allocations: 4.838 MB / 2.642 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009971/13.51, allocations: 3.163 MB / 2.645 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/13.51, allocations: 3.719 kB / 2.645 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.046/14.56, allocations: 245.6 MB / 2.885 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/14.56, allocations: 254.8 kB / 2.885 GB, free: 20.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/29.02, allocations: 0 / 2.885 GB, free: 20.72 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat