Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004819, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3041, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.703/8.007, allocations: 2.574 GB / 2.876 GB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/8.007, allocations: 97.73 kB / 2.876 GB, free: 3.699 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475/9.482, allocations: 297.3 MB / 3.166 GB, free: 39.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.835e-06/9.482, allocations: 4 kB / 3.166 GB, free: 39.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.929e-05/9.482, allocations: 10.66 kB / 3.166 GB, free: 39.17 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003831/9.486, allocations: 0.9474 MB / 3.167 GB, free: 38.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/9.486, allocations: 12.03 kB / 3.167 GB, free: 38.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/9.487, allocations: 66.53 kB / 3.167 GB, free: 38.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009511/9.487, allocations: 83.88 kB / 3.167 GB, free: 38.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/9.488, allocations: 301.7 kB / 3.167 GB, free: 37.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/9.488, allocations: 24.66 kB / 3.167 GB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/9.488, allocations: 39.98 kB / 3.168 GB, free: 37.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/9.489, allocations: 434.2 kB / 3.168 GB, free: 37.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/9.489, allocations: 7.922 kB / 3.168 GB, free: 37.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/9.489, allocations: 20 kB / 3.168 GB, free: 37.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/9.489, allocations: 8 kB / 3.168 GB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/9.49, allocations: 313.8 kB / 3.168 GB, free: 36.8 MB / 410.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.003449/9.494, allocations: 2.613 MB / 3.171 GB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/9.494, allocations: 254.5 kB / 3.171 GB, free: 33.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04839/9.543, allocations: 15.34 MB / 3.186 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/9.543, allocations: 30.56 kB / 3.186 GB, free: 16.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.836e-06/9.543, allocations: 0 / 3.186 GB, free: 16.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.005998/9.549, allocations: 1.297 MB / 3.187 GB, free: 15.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/9.549, allocations: 55.41 kB / 3.187 GB, free: 15.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/9.549, allocations: 237.7 kB / 3.188 GB, free: 14.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/9.549, allocations: 29.7 kB / 3.188 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/9.549, allocations: 197.4 kB / 3.188 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/9.55, allocations: 109.9 kB / 3.188 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/9.55, allocations: 8 kB / 3.188 GB, free: 14.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/9.55, allocations: 338.8 kB / 3.188 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/9.55, allocations: 100.8 kB / 3.188 GB, free: 14.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/9.55, allocations: 218.9 kB / 3.189 GB, free: 13.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/9.551, allocations: 131.9 kB / 3.189 GB, free: 13.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/9.551, allocations: 7.891 kB / 3.189 GB, free: 13.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001528/9.552, allocations: 438.5 kB / 3.189 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/9.552, allocations: 8 kB / 3.189 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/9.552, allocations: 4 kB / 3.189 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006667/9.559, allocations: 261.9 kB / 3.189 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/9.559, allocations: 79.91 kB / 3.189 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/9.561, allocations: 1.883 MB / 3.191 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/9.562, allocations: 24.23 kB / 3.191 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/9.562, allocations: 23.94 kB / 3.191 GB, free: 10.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002595/9.562, allocations: 161.6 kB / 3.192 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/9.562, allocations: 31.72 kB / 3.192 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/9.563, allocations: 0.9435 MB / 3.192 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/9.563, allocations: 11.98 kB / 3.192 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/9.564, allocations: 7.953 kB / 3.192 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/9.565, allocations: 1.122 MB / 3.194 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/9.567, allocations: 1.581 MB / 3.195 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/9.567, allocations: 4 kB / 3.195 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/9.568, allocations: 51.92 kB / 3.195 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003131/9.571, allocations: 291.8 kB / 3.195 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/9.571, allocations: 11.98 kB / 3.195 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006782/9.572, allocations: 0.6617 MB / 3.196 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/9.572, allocations: 0 / 3.196 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/9.573, allocations: 0.9564 MB / 3.197 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/9.573, allocations: 136.6 kB / 3.197 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/9.574, allocations: 8 kB / 3.197 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/9.574, allocations: 19.91 kB / 3.197 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/9.574, allocations: 15.97 kB / 3.197 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/9.574, allocations: 15.98 kB / 3.197 GB, free: 4.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000338/9.574, allocations: 235.1 kB / 3.197 GB, free: 4.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/9.574, allocations: 0 / 3.197 GB, free: 4.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003051/9.577, allocations: 0.5543 MB / 3.198 GB, free: 3.738 MB / 410.7 MB 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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006101/9.584, allocations: 2.239 MB / 3.2 GB, free: 1.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/9.585, allocations: 0.5242 MB / 3.201 GB, free: 1.027 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/9.585, allocations: 0 / 3.201 GB, free: 1.027 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/9.586, allocations: 288.9 kB / 3.201 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/9.587, allocations: 192.8 kB / 3.201 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3581/9.946, allocations: 4.936 MB / 3.206 GB, free: 60.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/9.946, allocations: 0.8347 MB / 3.207 GB, free: 59.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005487/9.947, allocations: 106.2 kB / 3.207 GB, free: 59.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/9.947, allocations: 141.8 kB / 3.207 GB, free: 59.57 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/9.947, allocations: 0 / 3.207 GB, free: 59.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07723/10.02, allocations: 27.49 MB / 3.234 GB, free: 59.02 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/10.02, allocations: 221.3 kB / 3.234 GB, free: 58.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/13.96, allocations: 3.75 kB / 3.234 GB, free: 58.78 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat