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.IdealSteam.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.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.127e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3344, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.707/2.041, allocations: 0.5036 GB / 0.8534 GB, free: 132.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/2.042, allocations: 93.45 kB / 0.8534 GB, free: 132.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141/3.183, allocations: 230.4 MB / 1.078 GB, free: 110.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/3.183, allocations: 3.094 kB / 1.078 GB, free: 110.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.342e-05/3.183, allocations: 18.75 kB / 1.078 GB, free: 110.9 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00358/3.186, allocations: 1.1 MB / 1.08 GB, free: 110.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/3.186, allocations: 7.875 kB / 1.08 GB, free: 110.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/3.188, allocations: 135.4 kB / 1.08 GB, free: 110.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/3.19, allocations: 0.5479 MB / 1.08 GB, free: 110.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/3.19, allocations: 84.45 kB / 1.08 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/3.19, allocations: 30.81 kB / 1.08 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001715/3.192, allocations: 0.5237 MB / 1.081 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/3.194, allocations: 0.7251 MB / 1.082 GB, free: 109.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/3.194, allocations: 4.875 kB / 1.082 GB, free: 109.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/3.194, allocations: 7.547 kB / 1.082 GB, free: 109.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.142e-05/3.194, allocations: 43.92 kB / 1.082 GB, free: 109.8 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.006812/3.201, allocations: 3.874 MB / 1.085 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/3.202, allocations: 247.6 kB / 1.086 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/3.202, allocations: 123.4 kB / 1.086 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/3.202, allocations: 23.64 kB / 1.086 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/3.202, allocations: 37.83 kB / 1.086 GB, free: 107.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.356e-06/3.202, allocations: 0 / 1.086 GB, free: 107.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.01109/3.213, allocations: 1.423 MB / 1.087 GB, free: 106.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/3.214, allocations: 134.6 kB / 1.087 GB, free: 106.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/3.215, allocations: 475.6 kB / 1.088 GB, free: 106.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/3.215, allocations: 25.7 kB / 1.088 GB, free: 106.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/3.215, allocations: 440.9 kB / 1.088 GB, free: 106 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/3.215, allocations: 118.5 kB / 1.088 GB, free: 106 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/3.215, allocations: 0 / 1.088 GB, free: 106 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/3.215, allocations: 336.4 kB / 1.089 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/3.216, allocations: 180.9 kB / 1.089 GB, free: 105.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/3.217, allocations: 0.5043 MB / 1.089 GB, free: 105.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/3.218, allocations: 324.5 kB / 1.09 GB, free: 105.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/3.218, allocations: 6.969 kB / 1.09 GB, free: 105.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003228/3.222, allocations: 0.8043 MB / 1.09 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/3.222, allocations: 13.69 kB / 1.09 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/3.222, allocations: 14.92 kB / 1.09 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/3.224, allocations: 270.7 kB / 1.091 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/3.225, allocations: 128.6 kB / 1.091 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/3.227, allocations: 0.9129 MB / 1.092 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/3.229, allocations: 36.66 kB / 1.092 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/3.229, allocations: 68.44 kB / 1.092 GB, free: 104.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002818/3.229, allocations: 138.4 kB / 1.092 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001656/3.231, allocations: 424.5 kB / 1.092 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/3.231, allocations: 63.47 kB / 1.092 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/3.233, allocations: 0.4936 MB / 1.093 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/3.233, allocations: 3.875 kB / 1.093 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/3.233, allocations: 2.953 kB / 1.093 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/3.233, allocations: 7.484 kB / 1.093 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/3.236, allocations: 0.9588 MB / 1.094 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/3.236, allocations: 0 / 1.094 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/3.239, allocations: 205.3 kB / 1.094 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/3.239, allocations: 26.36 kB / 1.094 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/3.239, allocations: 10.36 kB / 1.094 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/3.242, allocations: 2.579 MB / 1.097 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/3.242, allocations: 3.469 kB / 1.097 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/3.244, allocations: 0.6701 MB / 1.097 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/3.244, allocations: 171 kB / 1.097 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/3.245, allocations: 7.312 kB / 1.097 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/3.245, allocations: 18.55 kB / 1.097 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/3.246, allocations: 34.36 kB / 1.097 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/3.246, allocations: 33.86 kB / 1.097 GB, free: 101.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007677/3.247, allocations: 348.1 kB / 1.098 GB, free: 101.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/3.247, allocations: 0 / 1.098 GB, free: 101.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002582/3.249, allocations: 340.1 kB / 1.098 GB, free: 101.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005397/3.255, allocations: 2.351 MB / 1.1 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/3.257, allocations: 492.8 kB / 1.101 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/3.257, allocations: 0 / 1.101 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/3.258, allocations: 349.6 kB / 1.101 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/3.261, allocations: 243.2 kB / 1.101 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/3.276, allocations: 2.536 MB / 1.104 GB, free: 99.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/3.276, allocations: 0.9375 MB / 1.105 GB, free: 99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/3.277, allocations: 270.6 kB / 1.105 GB, free: 98.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/3.277, allocations: 0 / 1.105 GB, free: 98.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.253/6.531, allocations: 22.74 MB / 1.127 GB, free: 89.39 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat