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 1.935/1.935, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004715, allocations: 8 kB / 264 MB, free: 3.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2894, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.08749/0.377, allocations: 53.09 MB / 361.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04622/0.4232, allocations: 22.53 MB / 384.2 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.4252, allocations: 63.44 kB / 384.2 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003242/0.4285, allocations: 0.7195 MB / 385 MB, free: 184 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.4418, allocations: 3.148 MB / 388.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02693/0.4688, allocations: 6.515 MB / 394.6 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007082/0.4759, allocations: 3.224 MB / 397.8 MB, free: 3.266 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.4781, allocations: 0.9327 MB / 398.8 MB, free: 2.309 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03468/0.5128, allocations: 12.47 MB / 411.2 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3124/0.8252, allocations: 12.15 MB / 423.4 MB, free: 25.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006743/0.826, allocations: 74.91 kB / 423.5 MB, free: 25.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02437/0.8504, allocations: 8.705 MB / 432.2 MB, free: 25.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.8517, allocations: 0.5582 MB / 432.7 MB, free: 25.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.8528, allocations: 395.5 kB / 433.1 MB, free: 25.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.8653, allocations: 5.226 MB / 438.3 MB, free: 24.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.8654, allocations: 0 / 438.3 MB, free: 24.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.8654, allocations: 0 / 438.3 MB, free: 24.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.208e-05/0.8654, allocations: 0 / 438.3 MB, free: 24.82 MB / 346.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.009719/0.8752, allocations: 2.614 MB / 440.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.8752, allocations: 14.97 kB / 441 MB, free: 23.54 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006189/0.8759, allocations: 232.6 kB / 441.2 MB, free: 23.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006084/0.882, allocations: 0.605 MB / 441.8 MB, free: 23.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.8852, allocations: 1.134 MB / 442.9 MB, free: 23.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.8854, allocations: 142.3 kB / 443.1 MB, free: 23.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/0.8858, allocations: 148.7 kB / 443.2 MB, free: 23.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008994/0.8948, allocations: 2.796 MB / 446 MB, free: 21.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-05/0.8949, allocations: 7.469 kB / 446 MB, free: 21.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.8952, allocations: 69.16 kB / 446.1 MB, free: 21.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.8955, allocations: 141.2 kB / 446.2 MB, free: 21.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.9056, allocations: 2.665 MB / 448.9 MB, free: 19.61 MB / 346.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.02075/0.9264, allocations: 11.94 MB / 460.8 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007053/0.9334, allocations: 1.763 MB / 462.6 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.9475, allocations: 5.757 MB / 468.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.9476, allocations: 41.81 kB / 468.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=108): time 4.148e-06/0.9476, allocations: 4 kB / 468.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.03403/0.9817, allocations: 7.019 MB / 475.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.9818, allocations: 141.5 kB / 475.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.9842, allocations: 1.14 MB / 476.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003331/0.9845, allocations: 46.83 kB / 476.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007638/0.9853, allocations: 0.7665 MB / 477.5 MB, free: 9.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/0.986, allocations: 432.8 kB / 477.9 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.9862, allocations: 34 kB / 478 MB, free: 9.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.9865, allocations: 371.6 kB / 478.3 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/0.9896, allocations: 0.8726 MB / 479.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/0.9933, allocations: 1.337 MB / 480.5 MB, free: 7.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.665/6.658, allocations: 0.4883 GB / 0.9576 GB, free: 18.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/6.658, allocations: 5.406 kB / 0.9576 GB, free: 18.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008803/6.667, allocations: 2.717 MB / 0.9603 GB, free: 15.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002958/6.667, allocations: 0.4888 MB / 0.9607 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/6.667, allocations: 13.08 kB / 0.9608 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/6.67, allocations: 0.5028 MB / 0.9613 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/6.673, allocations: 399.5 kB / 0.9616 GB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/6.676, allocations: 2.872 MB / 0.9644 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/6.679, allocations: 207.2 kB / 0.9646 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/6.679, allocations: 87.92 kB / 0.9647 GB, free: 11.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/6.679, allocations: 4 kB / 0.9647 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2724/6.951, allocations: 2.511 MB / 0.9672 GB, free: 200.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/6.951, allocations: 13.66 kB / 0.9672 GB, free: 200.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/6.954, allocations: 0.5107 MB / 0.9677 GB, free: 200.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/6.957, allocations: 395.4 kB / 0.9681 GB, free: 200.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/6.96, allocations: 2.872 MB / 0.9709 GB, free: 198.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/6.963, allocations: 200.8 kB / 0.9711 GB, free: 198.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/6.963, allocations: 79.95 kB / 0.9711 GB, free: 198.5 MB / 458.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: 61 * 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 (188): * Single equations (assignments): 184 * 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.001377/6.964, allocations: 0.6012 MB / 0.9717 GB, free: 198.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/6.965, allocations: 139.6 kB / 0.9719 GB, free: 198.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/6.976, allocations: 5.444 MB / 0.9772 GB, free: 196.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.182e-05/6.977, allocations: 63.06 kB / 0.9772 GB, free: 196.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/6.977, allocations: 0.9688 kB / 0.9772 GB, free: 196.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01027/6.987, allocations: 4.984 MB / 0.9821 GB, free: 193.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/7.003, allocations: 7.966 MB / 0.9899 GB, free: 188.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/7.003, allocations: 0 / 0.9899 GB, free: 188.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/7.005, allocations: 283.6 kB / 0.9902 GB, free: 188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/7.009, allocations: 0.5692 MB / 0.9907 GB, free: 187.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/7.009, allocations: 43.94 kB / 0.9907 GB, free: 187.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/7.012, allocations: 2.94 MB / 0.9936 GB, free: 184.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/7.012, allocations: 0 / 0.9936 GB, free: 184.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/7.024, allocations: 5.296 MB / 0.9988 GB, free: 179 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/7.025, allocations: 0.5128 MB / 0.9993 GB, free: 178.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/7.026, allocations: 33.97 kB / 0.9993 GB, free: 178.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/7.027, allocations: 154.5 kB / 0.9995 GB, free: 178.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/7.028, allocations: 119.6 kB / 0.9996 GB, free: 178.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/7.028, allocations: 46.42 kB / 0.9996 GB, free: 178.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001424/7.029, allocations: 0.8098 MB / 1 GB, free: 177.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/7.029, allocations: 0 / 1 GB, free: 177.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007203/7.037, allocations: 1.982 MB / 1.002 GB, free: 175.5 MB / 458.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.02095/7.058, allocations: 7.386 MB / 1.01 GB, free: 168.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.011/7.069, allocations: 3.854 MB / 1.013 GB, free: 164.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/7.069, allocations: 4 kB / 1.013 GB, free: 164.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00393/7.073, allocations: 1.703 MB / 1.015 GB, free: 162.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/7.078, allocations: 0.6174 MB / 1.016 GB, free: 162.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/7.095, allocations: 8.196 MB / 1.024 GB, free: 153.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/7.096, allocations: 1.801 MB / 1.025 GB, free: 152 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005328/7.102, allocations: 1.925 MB / 1.027 GB, free: 150.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/7.103, allocations: 0.8625 MB / 1.028 GB, free: 149.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/7.103, allocations: 0 / 1.028 GB, free: 149.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2151/7.318, allocations: 87.53 MB / 1.114 GB, free: 61.58 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/7.319, allocations: 244.3 kB / 1.114 GB, free: 61.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/15.47, allocations: 1.203 kB / 1.114 GB, free: 61.34 MB / 458.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