Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestOverdeterminedInitial_DynamicPipeInitialValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.967/1.967, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 15.98 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 48.7 MB / 331.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.923/8.037, allocations: 2.553 GB / 2.877 GB, free: 68.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/8.038, allocations: 82.14 kB / 2.877 GB, free: 67.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.626/10.66, allocations: 487.9 MB / 3.353 GB, free: 34.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.699e-06/10.66, allocations: 0 / 3.353 GB, free: 34.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001536/10.66, allocations: 44.36 kB / 3.353 GB, free: 34.26 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01513/10.68, allocations: 3.047 MB / 3.356 GB, free: 32.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/10.68, allocations: 7.938 kB / 3.356 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001297/10.68, allocations: 272.5 kB / 3.357 GB, free: 32.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007185/10.69, allocations: 0.6563 MB / 3.357 GB, free: 32.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006048/10.69, allocations: 1.515 MB / 3.359 GB, free: 32.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/10.69, allocations: 157.1 kB / 3.359 GB, free: 32.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007725/10.7, allocations: 176 kB / 3.359 GB, free: 32.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/10.71, allocations: 3.345 MB / 3.362 GB, free: 31.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/10.71, allocations: 21.19 kB / 3.362 GB, free: 31.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/10.71, allocations: 74.47 kB / 3.363 GB, free: 31.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002199/10.71, allocations: 159.2 kB / 3.363 GB, free: 31.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/10.72, allocations: 3.278 MB / 3.366 GB, free: 31.96 MB / 442.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.02615/10.75, allocations: 13.36 MB / 3.379 GB, free: 24.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008513/10.75, allocations: 2.181 MB / 3.381 GB, free: 24.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2223/10.98, allocations: 61.64 MB / 3.441 GB, free: 20.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006876/10.98, allocations: 1.626 MB / 3.443 GB, free: 19.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 6.252e-06/10.98, allocations: 0 / 3.443 GB, free: 19.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.04632/11.03, allocations: 10.41 MB / 3.453 GB, free: 10.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/11.03, allocations: 328 kB / 3.453 GB, free: 10.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/11.03, allocations: 1.11 MB / 3.454 GB, free: 9.258 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005936/11.03, allocations: 57.7 kB / 3.454 GB, free: 9.195 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008123/11.03, allocations: 0.7854 MB / 3.455 GB, free: 8.461 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009449/11.04, allocations: 0.564 MB / 3.456 GB, free: 7.953 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/11.04, allocations: 43.94 kB / 3.456 GB, free: 7.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/11.04, allocations: 392 kB / 3.456 GB, free: 7.543 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/11.04, allocations: 1.183 MB / 3.457 GB, free: 6.566 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005182/11.04, allocations: 1.744 MB / 3.459 GB, free: 4.812 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.475/20.52, allocations: 0.7389 GB / 4.198 GB, free: 79.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/20.52, allocations: 3.719 kB / 4.198 GB, free: 79.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01261/20.53, allocations: 3.39 MB / 4.201 GB, free: 78.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001531/20.53, allocations: 6.527 MB / 4.208 GB, free: 72.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.69e-05/20.53, allocations: 19.06 kB / 4.208 GB, free: 72.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/20.54, allocations: 460.7 kB / 4.208 GB, free: 72.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004352/20.54, allocations: 0.5168 MB / 4.209 GB, free: 72.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/20.54, allocations: 3.318 MB / 4.212 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004041/20.55, allocations: 251.4 kB / 4.212 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007128/20.55, allocations: 102 kB / 4.212 GB, free: 69.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/20.55, allocations: 3.469 kB / 4.212 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01149/20.56, allocations: 3.186 MB / 4.215 GB, free: 69.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-05/20.56, allocations: 18.06 kB / 4.215 GB, free: 69.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/20.56, allocations: 442.4 kB / 4.216 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004651/20.57, allocations: 0.5071 MB / 4.216 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/20.57, allocations: 3.311 MB / 4.219 GB, free: 66.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/20.58, allocations: 252.5 kB / 4.22 GB, free: 66.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009813/20.58, allocations: 107.1 kB / 4.22 GB, free: 66.68 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: pipe.mediums[1].p = 10000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 16 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 239 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00343/20.58, allocations: 0.681 MB / 4.22 GB, free: 66.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008911/20.58, allocations: 156.2 kB / 4.221 GB, free: 66.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02321/20.6, allocations: 6.651 MB / 4.227 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000129/20.61, allocations: 67.27 kB / 4.227 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.14e-05/20.61, allocations: 7.297 kB / 4.227 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01648/20.62, allocations: 5.229 MB / 4.232 GB, free: 65.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02793/20.65, allocations: 9.114 MB / 4.241 GB, free: 64.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-05/20.65, allocations: 1.641 kB / 4.241 GB, free: 64.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003384/20.65, allocations: 399.6 kB / 4.242 GB, free: 64.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/20.66, allocations: 0.5603 MB / 4.242 GB, free: 64.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00054/20.66, allocations: 60.75 kB / 4.242 GB, free: 64.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/20.66, allocations: 3.394 MB / 4.245 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/20.66, allocations: 9.281 kB / 4.245 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/20.68, allocations: 6.805 MB / 4.252 GB, free: 61.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/20.68, allocations: 0.7718 MB / 4.253 GB, free: 61.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007245/20.68, allocations: 55.09 kB / 4.253 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/20.68, allocations: 197.6 kB / 4.253 GB, free: 61.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006109/20.68, allocations: 170.7 kB / 4.253 GB, free: 61.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/20.68, allocations: 62.3 kB / 4.253 GB, free: 61.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002494/20.69, allocations: 1.192 MB / 4.254 GB, free: 61.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/20.69, allocations: 6.844 kB / 4.254 GB, free: 61.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01199/20.7, allocations: 2.276 MB / 4.257 GB, free: 61.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 36 ($cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0307/20.73, allocations: 9.723 MB / 4.266 GB, free: 57.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01565/20.74, allocations: 5.015 MB / 4.271 GB, free: 54.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/20.74, allocations: 0 / 4.271 GB, free: 54.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005931/20.75, allocations: 2.241 MB / 4.273 GB, free: 53.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006773/20.76, allocations: 0.7356 MB / 4.274 GB, free: 52.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6596/21.42, allocations: 106.5 MB / 4.378 GB, free: 56.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/21.42, allocations: 2.005 MB / 4.38 GB, free: 56.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/21.42, allocations: 1.07 MB / 4.381 GB, free: 56.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/21.42, allocations: 0 / 4.381 GB, free: 56.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.375/26.8, allocations: 115.4 MB / 4.494 GB, free: 70.25 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues_res.mat does not exist to compare? outputFormat=mat