Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.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.NonCircularPipes,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 12 kB / 233.3 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09098, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.54/7.631, allocations: 2.518 GB / 2.784 GB, free: 62.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/7.631, allocations: 74.81 kB / 2.784 GB, free: 62.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.667/10.3, allocations: 0.5353 GB / 3.319 GB, free: 22.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/10.3, allocations: 0 / 3.319 GB, free: 22.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001742/10.3, allocations: 47.52 kB / 3.319 GB, free: 22.3 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01362/10.31, allocations: 2.942 MB / 3.322 GB, free: 20.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/10.31, allocations: 7.844 kB / 3.322 GB, free: 20.63 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/10.31, allocations: 236.2 kB / 3.322 GB, free: 20.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/10.32, allocations: 0.5832 MB / 3.323 GB, free: 20.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/10.33, allocations: 1.462 MB / 3.324 GB, free: 19.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/10.33, allocations: 141.6 kB / 3.325 GB, free: 19.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005102/10.33, allocations: 146.5 kB / 3.325 GB, free: 19.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009652/10.34, allocations: 2.82 MB / 3.327 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/10.34, allocations: 7.938 kB / 3.328 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/10.34, allocations: 71.61 kB / 3.328 GB, free: 16.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/10.34, allocations: 126.7 kB / 3.328 GB, free: 16.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/10.35, allocations: 2.649 MB / 3.33 GB, free: 13.56 MB / 378.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.02173/10.37, allocations: 11.95 MB / 3.342 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3107/10.68, allocations: 1.73 MB / 3.344 GB, free: 26.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01506/10.69, allocations: 5.675 MB / 3.349 GB, free: 21.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/10.69, allocations: 45.91 kB / 3.349 GB, free: 21.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.767e-06/10.69, allocations: 0 / 3.349 GB, free: 21.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.03449/10.73, allocations: 7.123 MB / 3.356 GB, free: 21.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/10.73, allocations: 145.5 kB / 3.356 GB, free: 21.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/10.73, allocations: 1.019 MB / 3.357 GB, free: 20.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004153/10.73, allocations: 46.36 kB / 3.357 GB, free: 20.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007271/10.73, allocations: 0.7596 MB / 3.358 GB, free: 20.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/10.73, allocations: 435.2 kB / 3.359 GB, free: 20.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/10.73, allocations: 32.06 kB / 3.359 GB, free: 20.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/10.73, allocations: 373 kB / 3.359 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/10.74, allocations: 0.8767 MB / 3.36 GB, free: 20.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/10.74, allocations: 1.322 MB / 3.361 GB, free: 19.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.301/15.04, allocations: 377.7 MB / 3.73 GB, free: 58.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/15.04, allocations: 4 kB / 3.73 GB, free: 58.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.009366/15.05, allocations: 2.719 MB / 3.733 GB, free: 56.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001059/15.05, allocations: 5.136 MB / 3.738 GB, free: 51.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/15.05, allocations: 19.98 kB / 3.738 GB, free: 51.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/15.06, allocations: 0.5011 MB / 3.738 GB, free: 51.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/15.06, allocations: 392.9 kB / 3.738 GB, free: 50.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/15.06, allocations: 2.871 MB / 3.741 GB, free: 48.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/15.06, allocations: 218.4 kB / 3.742 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/15.06, allocations: 79.47 kB / 3.742 GB, free: 47.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/15.06, allocations: 4.625 kB / 3.742 GB, free: 47.87 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008326/15.07, allocations: 2.517 MB / 3.744 GB, free: 46.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/15.07, allocations: 20.02 kB / 3.744 GB, free: 46.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/15.08, allocations: 0.5002 MB / 3.745 GB, free: 45.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/15.08, allocations: 388.4 kB / 3.745 GB, free: 45.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/15.08, allocations: 2.875 MB / 3.748 GB, free: 42.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/15.08, allocations: 205 kB / 3.748 GB, free: 42.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/15.08, allocations: 75.67 kB / 3.748 GB, free: 42.47 MB / 426.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: circular_pipe.mediums[1].p = 1000000.0 annulus_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001499/15.09, allocations: 0.595 MB / 3.749 GB, free: 42.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/15.09, allocations: 139.3 kB / 3.749 GB, free: 41.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/15.1, allocations: 5.46 MB / 3.754 GB, free: 38.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-05/15.1, allocations: 61.91 kB / 3.754 GB, free: 38.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/15.1, allocations: 1.078 kB / 3.754 GB, free: 38.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009761/15.11, allocations: 4.998 MB / 3.759 GB, free: 34.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/15.13, allocations: 8.01 MB / 3.767 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/15.13, allocations: 4 kB / 3.767 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/15.13, allocations: 287.9 kB / 3.767 GB, free: 29.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/15.13, allocations: 0.5654 MB / 3.768 GB, free: 28.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003245/15.13, allocations: 47.42 kB / 3.768 GB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/15.13, allocations: 2.933 MB / 3.771 GB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/15.13, allocations: 0 / 3.771 GB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/15.15, allocations: 5.323 MB / 3.776 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/15.15, allocations: 0.5164 MB / 3.776 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005181/15.15, allocations: 31.48 kB / 3.776 GB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/15.15, allocations: 163.4 kB / 3.776 GB, free: 21.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/15.15, allocations: 121.7 kB / 3.777 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/15.15, allocations: 40.98 kB / 3.777 GB, free: 21.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001676/15.15, allocations: 0.8215 MB / 3.777 GB, free: 21.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.293e-06/15.15, allocations: 0.5469 kB / 3.777 GB, free: 21.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0101/15.16, allocations: 2.173 MB / 3.78 GB, free: 19.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0264/15.19, allocations: 8.008 MB / 3.787 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01271/15.2, allocations: 3.858 MB / 3.791 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/15.2, allocations: 2.156 kB / 3.791 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004249/15.21, allocations: 1.703 MB / 3.793 GB, free: 10.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005563/15.21, allocations: 0.6195 MB / 3.793 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5519/15.76, allocations: 90.82 MB / 3.882 GB, free: 49.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/15.77, allocations: 1.805 MB / 3.884 GB, free: 48.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005539/15.77, allocations: 1.922 MB / 3.886 GB, free: 48.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/15.77, allocations: 0.8607 MB / 3.887 GB, free: 48.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/15.77, allocations: 2.625 kB / 3.887 GB, free: 48.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5201/16.29, allocations: 85.85 MB / 3.97 GB, free: 54.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/16.29, allocations: 237 kB / 3.971 GB, free: 54.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.312/22.61, allocations: 0 / 3.971 GB, free: 54.54 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat