Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005109, allocations: 8 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3053, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9934/1.299, allocations: 277.3 MB / 0.5721 GB, free: 92.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.299, allocations: 81.12 kB / 0.5722 GB, free: 92.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.15/11.45, allocations: 1.66 GB / 2.232 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.408e-06/11.45, allocations: 0 / 2.232 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001155/11.45, allocations: 195.7 kB / 2.232 GB, free: 23.09 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.05813/11.51, allocations: 11.09 MB / 2.243 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/11.51, allocations: 9.719 kB / 2.243 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005934/11.51, allocations: 0.7851 MB / 2.244 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/11.53, allocations: 1.249 MB / 2.245 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03189/11.56, allocations: 6.356 MB / 2.251 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/11.56, allocations: 434.7 kB / 2.252 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0043/11.57, allocations: 0.5378 MB / 2.252 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/11.6, allocations: 9.436 MB / 2.261 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002284/11.6, allocations: 20.81 kB / 2.261 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003083/11.61, allocations: 249.2 kB / 2.262 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001225/11.61, allocations: 0.5916 MB / 2.262 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03034/11.64, allocations: 8.135 MB / 2.27 GB, free: 8.926 MB / 0.4948 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.6497/12.29, allocations: 34.9 MB / 2.304 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/12.31, allocations: 6.156 MB / 2.31 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008883/12.32, allocations: 4.758 MB / 2.315 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/12.32, allocations: 97.48 kB / 2.315 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01317/12.33, allocations: 1.675 MB / 2.317 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=500): time 4.037e-05/12.33, allocations: 0.875 kB / 2.317 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=632): time 0.3251/12.66, allocations: 50.78 MB / 2.366 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/12.66, allocations: 169.4 kB / 2.366 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/12.67, allocations: 4.184 MB / 2.371 GB, free: 14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002542/12.67, allocations: 144.8 kB / 2.371 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00423/12.68, allocations: 2.968 MB / 2.374 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004462/12.68, allocations: 2.166 MB / 2.376 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/12.68, allocations: 145 kB / 2.376 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006915/12.68, allocations: 0.5942 MB / 2.376 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0124/12.7, allocations: 3.919 MB / 2.38 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01505/12.71, allocations: 5.612 MB / 2.386 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/12.73, allocations: 4.866 MB / 2.39 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.946e-05/12.73, allocations: 11.69 kB / 2.39 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04697/12.77, allocations: 12.49 MB / 2.403 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.007897/12.78, allocations: 21.31 MB / 2.423 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002646/12.78, allocations: 46.41 kB / 2.424 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05281/12.83, allocations: 5.181 MB / 2.429 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01194/12.85, allocations: 1.361 MB / 2.43 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02384/12.87, allocations: 17.41 MB / 2.447 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/12.88, allocations: 0.5127 MB / 2.447 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003357/12.89, allocations: 421.5 kB / 2.448 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/12.89, allocations: 2.781 kB / 2.448 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05045/12.94, allocations: 12 MB / 2.46 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/12.94, allocations: 46.47 kB / 2.46 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01904/12.96, allocations: 3.279 MB / 2.463 GB, free: 416 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01235/12.97, allocations: 1.397 MB / 2.464 GB, free: 364 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03655/13.01, allocations: 22.17 MB / 2.486 GB, free: 15.87 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/13.02, allocations: 0.4908 MB / 2.486 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003189/13.02, allocations: 406.4 kB / 2.487 GB, free: 15.69 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.01127/13.03, allocations: 1.931 MB / 2.489 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00445/13.04, allocations: 0.6429 MB / 2.489 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05662/13.1, allocations: 13.48 MB / 2.502 GB, free: 4.012 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001147/13.1, allocations: 67.94 kB / 2.502 GB, free: 3.945 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/13.1, allocations: 4 kB / 2.502 GB, free: 3.941 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.567/13.66, allocations: 9.647 MB / 2.512 GB, free: 90.73 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08396/13.75, allocations: 24.81 MB / 2.536 GB, free: 88.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000115/13.75, allocations: 16 kB / 2.536 GB, free: 88.35 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008181/13.76, allocations: 0.8693 MB / 2.537 GB, free: 88.35 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04636/13.8, allocations: 5.448 MB / 2.542 GB, free: 88.16 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00228/13.8, allocations: 230.4 kB / 2.542 GB, free: 88.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02028/13.82, allocations: 17.4 MB / 2.559 GB, free: 76.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-05/13.82, allocations: 23.81 kB / 2.56 GB, free: 76.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05443/13.88, allocations: 19.17 MB / 2.578 GB, free: 71.86 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008265/13.89, allocations: 1.719 MB / 2.58 GB, free: 71.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003875/13.89, allocations: 169.8 kB / 2.58 GB, free: 71.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01143/13.9, allocations: 333.9 kB / 2.58 GB, free: 71.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003112/13.91, allocations: 458.2 kB / 2.581 GB, free: 71.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002526/13.91, allocations: 321 kB / 2.581 GB, free: 71.75 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009123/13.92, allocations: 3.135 MB / 2.584 GB, free: 71.57 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.112e-06/13.92, allocations: 2.438 kB / 2.584 GB, free: 71.57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03398/13.95, allocations: 5.871 MB / 2.59 GB, free: 71.57 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.07071/14.02, allocations: 26.5 MB / 2.616 GB, free: 63.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05086/14.07, allocations: 15.64 MB / 2.631 GB, free: 59.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.188e-05/14.07, allocations: 10.53 kB / 2.631 GB, free: 59.06 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01702/14.09, allocations: 4.882 MB / 2.636 GB, free: 57.61 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02323/14.11, allocations: 2.574 MB / 2.638 GB, free: 57.07 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07683/14.19, allocations: 58.22 MB / 2.695 GB, free: 10.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009947/14.2, allocations: 4.497 MB / 2.7 GB, free: 9.266 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0293/14.23, allocations: 4.839 MB / 2.704 GB, free: 8.789 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009732/14.24, allocations: 3.162 MB / 2.707 GB, free: 6.391 MB / 0.573 GB Notification: Performance of SimCode: time 1.333e-06/14.24, allocations: 0 / 2.707 GB, free: 6.391 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/15.87, allocations: 245.7 MB / 2.947 GB, free: 79.49 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/15.87, allocations: 255.1 kB / 2.948 GB, free: 79.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/31.15, allocations: 0 / 2.948 GB, free: 79.16 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat