Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.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.NonCircularPipes,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004992, allocations: 12 kB / 264 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.335, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.421/8.756, allocations: 2.628 GB / 2.929 GB, free: 93.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/8.756, allocations: 78 kB / 2.929 GB, free: 93.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.903/11.66, allocations: 0.5476 GB / 3.477 GB, free: 2.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/11.66, allocations: 0 / 3.477 GB, free: 2.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000186/11.66, allocations: 47.91 kB / 3.477 GB, free: 2.824 MB / 410.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.01508/11.67, allocations: 2.987 MB / 3.48 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/11.67, allocations: 8.031 kB / 3.48 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/11.68, allocations: 235.6 kB / 3.48 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006913/11.68, allocations: 0.5958 MB / 3.481 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/11.69, allocations: 1.46 MB / 3.482 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/11.69, allocations: 146.5 kB / 3.482 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006742/11.69, allocations: 143.5 kB / 3.482 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/11.7, allocations: 2.821 MB / 3.485 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-05/11.7, allocations: 7.938 kB / 3.485 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/11.7, allocations: 63.81 kB / 3.485 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000277/11.7, allocations: 130.7 kB / 3.485 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/11.71, allocations: 2.649 MB / 3.488 GB, free: 7.387 MB / 426.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.3881/12.1, allocations: 11.94 MB / 3.5 GB, free: 26.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007725/12.11, allocations: 1.735 MB / 3.501 GB, free: 26.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/12.12, allocations: 5.727 MB / 3.507 GB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/12.12, allocations: 51.44 kB / 3.507 GB, free: 22.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 4.228e-06/12.12, allocations: 2.938 kB / 3.507 GB, free: 22.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.03354/12.16, allocations: 7.133 MB / 3.514 GB, free: 21.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/12.16, allocations: 149.1 kB / 3.514 GB, free: 21.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/12.16, allocations: 1.017 MB / 3.515 GB, free: 21.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003969/12.16, allocations: 53.17 kB / 3.515 GB, free: 21.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006607/12.16, allocations: 0.7555 MB / 3.516 GB, free: 20.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000585/12.16, allocations: 438.5 kB / 3.516 GB, free: 20.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/12.16, allocations: 33.06 kB / 3.516 GB, free: 20.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/12.16, allocations: 369.8 kB / 3.517 GB, free: 20.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002844/12.17, allocations: 0.8771 MB / 3.517 GB, free: 20.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/12.17, allocations: 1.325 MB / 3.519 GB, free: 19.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.49/16.66, allocations: 377.7 MB / 3.888 GB, free: 78.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/16.66, allocations: 3.656 kB / 3.888 GB, free: 78.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.01044/16.67, allocations: 2.719 MB / 3.89 GB, free: 78.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001254/16.67, allocations: 5.141 MB / 3.895 GB, free: 72.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.619e-05/16.67, allocations: 14.47 kB / 3.895 GB, free: 72.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/16.67, allocations: 0.5047 MB / 3.896 GB, free: 72.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/16.68, allocations: 391.4 kB / 3.896 GB, free: 72.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/16.68, allocations: 2.869 MB / 3.899 GB, free: 70.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/16.68, allocations: 212.5 kB / 3.899 GB, free: 70.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005454/16.68, allocations: 77.91 kB / 3.899 GB, free: 70.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/16.68, allocations: 3.594 kB / 3.899 GB, free: 70.66 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00963/16.69, allocations: 2.525 MB / 3.902 GB, free: 70.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.592e-05/16.69, allocations: 10.28 kB / 3.902 GB, free: 70.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/16.7, allocations: 0.5 MB / 3.902 GB, free: 70.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/16.7, allocations: 394.2 kB / 3.903 GB, free: 70.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/16.7, allocations: 2.882 MB / 3.905 GB, free: 68.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/16.71, allocations: 203.4 kB / 3.906 GB, free: 68.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/16.71, allocations: 76.72 kB / 3.906 GB, free: 68.43 MB / 474.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.001739/16.71, allocations: 0.5982 MB / 3.906 GB, free: 68.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004973/16.71, allocations: 137.9 kB / 3.906 GB, free: 68.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/16.72, allocations: 5.462 MB / 3.912 GB, free: 67.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.943e-05/16.72, allocations: 62.48 kB / 3.912 GB, free: 67.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/16.72, allocations: 0 / 3.912 GB, free: 67.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01086/16.73, allocations: 5.004 MB / 3.917 GB, free: 67.08 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/16.75, allocations: 8.01 MB / 3.924 GB, free: 66.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/16.75, allocations: 0 / 3.924 GB, free: 66.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/16.75, allocations: 293.4 kB / 3.925 GB, free: 66.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/16.76, allocations: 0.5648 MB / 3.925 GB, free: 66.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003732/16.76, allocations: 37.95 kB / 3.925 GB, free: 66.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/16.76, allocations: 2.936 MB / 3.928 GB, free: 64.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/16.76, allocations: 4.641 kB / 3.928 GB, free: 64.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/16.77, allocations: 5.313 MB / 3.933 GB, free: 63.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/16.78, allocations: 0.5158 MB / 3.934 GB, free: 63.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/16.78, allocations: 40.67 kB / 3.934 GB, free: 63.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002897/16.78, allocations: 163.7 kB / 3.934 GB, free: 63.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006671/16.78, allocations: 117.5 kB / 3.934 GB, free: 63.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/16.78, allocations: 42.08 kB / 3.934 GB, free: 63.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001954/16.78, allocations: 0.8231 MB / 3.935 GB, free: 63.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/16.78, allocations: 5.438 kB / 3.935 GB, free: 63.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01084/16.79, allocations: 2.171 MB / 3.937 GB, free: 61.5 MB / 474.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.02683/16.82, allocations: 8.017 MB / 3.945 GB, free: 56.65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01203/16.83, allocations: 3.853 MB / 3.949 GB, free: 54.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/16.83, allocations: 0 / 3.949 GB, free: 54.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004667/16.84, allocations: 1.708 MB / 3.95 GB, free: 53.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005973/16.84, allocations: 0.6306 MB / 3.951 GB, free: 53.35 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6984/17.54, allocations: 92.11 MB / 4.041 GB, free: 56.83 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/17.54, allocations: 1.8 MB / 4.043 GB, free: 56.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006011/17.55, allocations: 1.919 MB / 4.045 GB, free: 56.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/17.55, allocations: 0.8665 MB / 4.046 GB, free: 56.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/17.55, allocations: 0 / 4.046 GB, free: 56.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2303/17.78, allocations: 86.06 MB / 4.13 GB, free: 51.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/17.78, allocations: 239.9 kB / 4.13 GB, free: 51.53 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/24.43, allocations: 2.188 kB / 4.13 GB, free: 51.53 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat