Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.965e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3389, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.442/7.781, allocations: 2.624 GB / 2.974 GB, free: 125.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/7.781, allocations: 91 kB / 2.974 GB, free: 125.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325/10.11, allocations: 495 MB / 3.458 GB, free: 24.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/10.11, allocations: 0 / 3.458 GB, free: 24.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.507e-05/10.11, allocations: 20 kB / 3.458 GB, free: 23.99 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007177/10.11, allocations: 1.699 MB / 3.459 GB, free: 22.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/10.11, allocations: 8.031 kB / 3.459 GB, free: 22.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/10.12, allocations: 234.8 kB / 3.46 GB, free: 22.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/10.12, allocations: 0.5935 MB / 3.46 GB, free: 21.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/10.12, allocations: 92.7 kB / 3.46 GB, free: 21.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/10.12, allocations: 35.95 kB / 3.46 GB, free: 21.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001534/10.12, allocations: 0.6234 MB / 3.461 GB, free: 20.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/10.12, allocations: 0.8676 MB / 3.462 GB, free: 19.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/10.12, allocations: 7.938 kB / 3.462 GB, free: 19.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/10.12, allocations: 8 kB / 3.462 GB, free: 19.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.229e-05/10.12, allocations: 49.17 kB / 3.462 GB, free: 19.6 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.6171/10.74, allocations: 67.75 MB / 3.528 GB, free: 23.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/10.74, allocations: 343 kB / 3.528 GB, free: 23.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/10.74, allocations: 143.5 kB / 3.528 GB, free: 23.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1676/10.91, allocations: 53.54 MB / 3.581 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/10.91, allocations: 40.69 kB / 3.581 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/10.91, allocations: 3.844 kB / 3.581 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.007189/10.91, allocations: 1.58 MB / 3.582 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/10.92, allocations: 140.8 kB / 3.582 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/10.92, allocations: 499.9 kB / 3.583 GB, free: 20 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/10.92, allocations: 25.7 kB / 3.583 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/10.92, allocations: 481 kB / 3.583 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/10.92, allocations: 134.3 kB / 3.584 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/10.92, allocations: 0 / 3.584 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001596/10.92, allocations: 352.2 kB / 3.584 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/10.92, allocations: 201.3 kB / 3.584 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/10.92, allocations: 0.5863 MB / 3.585 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/10.92, allocations: 432.5 kB / 3.585 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/10.92, allocations: 3.562 kB / 3.585 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002728/10.92, allocations: 0.8681 MB / 3.586 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/10.92, allocations: 9.875 kB / 3.586 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/10.92, allocations: 18.81 kB / 3.586 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/10.92, allocations: 72.22 kB / 3.586 GB, free: 18.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/10.92, allocations: 291.6 kB / 3.586 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/10.93, allocations: 2.071 MB / 3.588 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/10.93, allocations: 44.91 kB / 3.588 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/10.93, allocations: 45.72 kB / 3.588 GB, free: 32.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002534/10.93, allocations: 148.1 kB / 3.589 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001885/10.93, allocations: 0.5097 MB / 3.589 GB, free: 32.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/10.93, allocations: 69.12 kB / 3.589 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/10.93, allocations: 1.498 MB / 3.591 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/10.93, allocations: 18.16 kB / 3.591 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/10.93, allocations: 0 / 3.591 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/10.93, allocations: 7.562 kB / 3.591 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/10.94, allocations: 2.329 MB / 3.593 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/10.94, allocations: 2.859 kB / 3.593 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/10.94, allocations: 173.6 kB / 3.593 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/10.94, allocations: 113.8 kB / 3.593 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/10.94, allocations: 5.781 kB / 3.593 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/10.94, allocations: 2.082 MB / 3.595 GB, free: 30.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/10.94, allocations: 4.219 kB / 3.595 GB, free: 30.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/10.95, allocations: 1.509 MB / 3.597 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/10.95, allocations: 207.2 kB / 3.597 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/10.95, allocations: 6.516 kB / 3.597 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/10.95, allocations: 20.06 kB / 3.597 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/10.95, allocations: 26.42 kB / 3.597 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/10.95, allocations: 15.12 kB / 3.597 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006038/10.95, allocations: 361.1 kB / 3.597 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.4e-07/10.95, allocations: 0 / 3.597 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005445/10.95, allocations: 1.087 MB / 3.598 GB, free: 29.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/10.96, allocations: 3.602 MB / 3.602 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002537/10.97, allocations: 0.8035 MB / 3.603 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/10.97, allocations: 0 / 3.603 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/10.97, allocations: 0.5227 MB / 3.603 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/10.97, allocations: 263.3 kB / 3.603 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/10.98, allocations: 1.924 MB / 3.605 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/10.98, allocations: 1.046 MB / 3.606 GB, free: 27.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/10.98, allocations: 319.4 kB / 3.607 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/10.98, allocations: 0 / 3.607 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.788/14.77, allocations: 41.98 MB / 3.648 GB, free: 17.71 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat