Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 11.94 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 44.52 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9883/1.097, allocations: 277.3 MB / 0.5721 GB, free: 88.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.098, allocations: 77.44 kB / 0.5722 GB, free: 88.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.716/10.81, allocations: 1.66 GB / 2.232 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.799e-06/10.81, allocations: 0 / 2.232 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001366/10.81, allocations: 191.3 kB / 2.232 GB, free: 21.41 MB / 0.4948 GB 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.06912/10.88, allocations: 11.09 MB / 2.243 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/10.88, allocations: 6.406 kB / 2.243 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0064/10.89, allocations: 0.793 MB / 2.244 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02191/10.91, allocations: 1.248 MB / 2.245 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04239/10.95, allocations: 6.346 MB / 2.251 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/10.96, allocations: 433.7 kB / 2.252 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005011/10.96, allocations: 0.5387 MB / 2.252 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04641/11.01, allocations: 9.448 MB / 2.261 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000349/11.01, allocations: 23.77 kB / 2.261 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003957/11.01, allocations: 251.8 kB / 2.262 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0014/11.01, allocations: 0.5916 MB / 2.262 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0352/11.05, allocations: 8.12 MB / 2.27 GB, free: 7.816 MB / 0.5105 GB 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.6228/11.67, allocations: 34.9 MB / 2.304 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/11.69, allocations: 6.157 MB / 2.31 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009695/11.7, allocations: 4.765 MB / 2.315 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/11.7, allocations: 98.69 kB / 2.315 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01309/11.72, allocations: 1.675 MB / 2.317 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 4.169e-05/11.72, allocations: 1.938 kB / 2.317 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.3257/12.04, allocations: 50.78 MB / 2.366 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/12.04, allocations: 172 kB / 2.366 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01364/12.06, allocations: 4.186 MB / 2.371 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002599/12.06, allocations: 141.7 kB / 2.371 GB, free: 21.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003513/12.06, allocations: 2.635 MB / 2.373 GB, free: 21.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004646/12.07, allocations: 2.162 MB / 2.375 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002405/12.07, allocations: 143.6 kB / 2.375 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008422/12.07, allocations: 0.5971 MB / 2.376 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01277/12.08, allocations: 3.92 MB / 2.38 GB, free: 19.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01491/12.1, allocations: 5.612 MB / 2.385 GB, free: 17.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/12.11, allocations: 4.869 MB / 2.39 GB, free: 17.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.721e-05/12.11, allocations: 13.97 kB / 2.39 GB, free: 17.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04588/12.16, allocations: 12.14 MB / 2.402 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.006823/12.17, allocations: 17.69 MB / 2.419 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002275/12.17, allocations: 50.17 kB / 2.419 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05258/12.22, allocations: 5.179 MB / 2.424 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/12.23, allocations: 1.36 MB / 2.426 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/12.25, allocations: 17.42 MB / 2.443 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0141/12.27, allocations: 0.5141 MB / 2.443 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003394/12.27, allocations: 418.7 kB / 2.444 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/12.27, allocations: 5.531 kB / 2.444 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04923/12.32, allocations: 11.99 MB / 2.455 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/12.32, allocations: 44.47 kB / 2.455 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01684/12.34, allocations: 2.981 MB / 2.458 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/12.35, allocations: 1.4 MB / 2.46 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03658/12.39, allocations: 22.1 MB / 2.481 GB, free: 8.809 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/12.4, allocations: 0.4884 MB / 2.482 GB, free: 8.652 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003193/12.4, allocations: 412.7 kB / 2.482 GB, free: 8.594 MB / 0.573 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.01047/12.41, allocations: 1.922 MB / 2.484 GB, free: 7.645 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004214/12.42, allocations: 0.6386 MB / 2.485 GB, free: 7.312 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.587/13, allocations: 14.16 MB / 2.498 GB, free: 88.99 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/13, allocations: 64.66 kB / 2.498 GB, free: 88.99 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.198e-05/13, allocations: 1.875 kB / 2.498 GB, free: 88.99 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03837/13.04, allocations: 9.665 MB / 2.508 GB, free: 88.37 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08545/13.13, allocations: 24.79 MB / 2.532 GB, free: 85.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001334/13.13, allocations: 17.31 kB / 2.532 GB, free: 85.99 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008124/13.14, allocations: 0.865 MB / 2.533 GB, free: 85.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04645/13.18, allocations: 5.452 MB / 2.538 GB, free: 85.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002309/13.18, allocations: 226.1 kB / 2.539 GB, free: 85.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/13.2, allocations: 17.4 MB / 2.556 GB, free: 73.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.257e-05/13.2, allocations: 25.94 kB / 2.556 GB, free: 73.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05427/13.26, allocations: 19.16 MB / 2.574 GB, free: 69.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007855/13.27, allocations: 1.722 MB / 2.576 GB, free: 69.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00404/13.27, allocations: 167.3 kB / 2.576 GB, free: 69.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/13.28, allocations: 335.5 kB / 2.576 GB, free: 69.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002621/13.28, allocations: 459.8 kB / 2.577 GB, free: 69.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002348/13.29, allocations: 323.6 kB / 2.577 GB, free: 69.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009994/13.3, allocations: 3.139 MB / 2.58 GB, free: 69.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.91e-07/13.3, allocations: 1.031 kB / 2.58 GB, free: 69.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03509/13.33, allocations: 5.862 MB / 2.586 GB, free: 69.02 MB / 0.573 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.07634/13.41, allocations: 26.49 MB / 2.612 GB, free: 59.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05277/13.46, allocations: 15.65 MB / 2.627 GB, free: 55.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.504e-05/13.46, allocations: 8.062 kB / 2.627 GB, free: 55.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01735/13.48, allocations: 4.879 MB / 2.632 GB, free: 53.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02338/13.5, allocations: 2.583 MB / 2.634 GB, free: 53.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07678/13.58, allocations: 58.35 MB / 2.691 GB, free: 6.508 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00873/13.59, allocations: 4.435 MB / 2.696 GB, free: 5.195 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009992/13.6, allocations: 3.246 MB / 2.699 GB, free: 2.785 MB / 0.573 GB Notification: Performance of SimCode: time 1.683e-06/13.6, allocations: 0 / 2.699 GB, free: 2.785 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.23/24.83, allocations: 0.7619 GB / 3.461 GB, free: 76.63 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat