Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001505, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 95.48 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004205, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3286, allocations: 47.57 MB / 374.6 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.141/8.469, allocations: 2.74 GB / 3.106 GB, free: 55.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/8.47, allocations: 100.2 kB / 3.106 GB, free: 55.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.645/10.12, allocations: 295.5 MB / 3.395 GB, free: 61.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.166e-06/10.12, allocations: 192 / 3.395 GB, free: 61.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/10.12, allocations: 7.328 kB / 3.395 GB, free: 61.43 MB / 426.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.003283/10.12, allocations: 0.9442 MB / 3.395 GB, free: 60.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/10.12, allocations: 10.22 kB / 3.395 GB, free: 60.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/10.12, allocations: 69.56 kB / 3.396 GB, free: 60.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009969/10.12, allocations: 89.03 kB / 3.396 GB, free: 60.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/10.12, allocations: 306.9 kB / 3.396 GB, free: 60.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/10.12, allocations: 23.09 kB / 3.396 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/10.12, allocations: 33.59 kB / 3.396 GB, free: 60.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/10.12, allocations: 433.3 kB / 3.396 GB, free: 60.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/10.12, allocations: 0 / 3.396 GB, free: 60.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/10.12, allocations: 15.97 kB / 3.396 GB, free: 60.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/10.12, allocations: 11.75 kB / 3.396 GB, free: 60.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/10.12, allocations: 317.3 kB / 3.397 GB, free: 60.12 MB / 426.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.003481/10.13, allocations: 2.632 MB / 3.399 GB, free: 57.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/10.13, allocations: 243.8 kB / 3.4 GB, free: 57.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04904/10.18, allocations: 15.33 MB / 3.415 GB, free: 48.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/10.18, allocations: 36.09 kB / 3.415 GB, free: 48.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.464e-06/10.18, allocations: 0 / 3.415 GB, free: 48.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.006326/10.18, allocations: 1.302 MB / 3.416 GB, free: 47.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/10.18, allocations: 53.7 kB / 3.416 GB, free: 47.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/10.18, allocations: 244.4 kB / 3.416 GB, free: 47.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/10.18, allocations: 29.7 kB / 3.416 GB, free: 47.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/10.18, allocations: 255.3 kB / 3.416 GB, free: 46.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.155e-05/10.18, allocations: 101.7 kB / 3.416 GB, free: 46.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/10.18, allocations: 11.81 kB / 3.416 GB, free: 46.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/10.18, allocations: 329 kB / 3.417 GB, free: 46.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/10.18, allocations: 96.3 kB / 3.417 GB, free: 46.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/10.18, allocations: 220.8 kB / 3.417 GB, free: 46.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/10.18, allocations: 132.5 kB / 3.417 GB, free: 46.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/10.18, allocations: 0 / 3.417 GB, free: 46.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001156/10.19, allocations: 427 kB / 3.418 GB, free: 46.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/10.19, allocations: 12.61 kB / 3.418 GB, free: 46.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/10.19, allocations: 3.969 kB / 3.418 GB, free: 46.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00692/10.19, allocations: 267.2 kB / 3.418 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/10.19, allocations: 78.75 kB / 3.418 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/10.19, allocations: 1.878 MB / 3.42 GB, free: 44.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/10.2, allocations: 30.44 kB / 3.42 GB, free: 44.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/10.2, allocations: 22.7 kB / 3.42 GB, free: 44.07 MB / 426.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.0002769/10.2, allocations: 156.9 kB / 3.42 GB, free: 43.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/10.2, allocations: 31.41 kB / 3.42 GB, free: 43.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/10.2, allocations: 0.9501 MB / 3.421 GB, free: 43.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/10.2, allocations: 15.09 kB / 3.421 GB, free: 43.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/10.2, allocations: 0 / 3.421 GB, free: 43.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/10.2, allocations: 1.111 MB / 3.422 GB, free: 42.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/10.2, allocations: 1.586 MB / 3.424 GB, free: 41.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/10.2, allocations: 3.938 kB / 3.424 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/10.2, allocations: 50.58 kB / 3.424 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/10.2, allocations: 289 kB / 3.424 GB, free: 41.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/10.2, allocations: 7.906 kB / 3.424 GB, free: 41.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006522/10.21, allocations: 0.6745 MB / 3.425 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/10.21, allocations: 1.422 kB / 3.425 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/10.21, allocations: 0.9445 MB / 3.426 GB, free: 40.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/10.21, allocations: 142.4 kB / 3.426 GB, free: 40.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/10.21, allocations: 7.938 kB / 3.426 GB, free: 40.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/10.21, allocations: 25.52 kB / 3.426 GB, free: 40.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/10.21, allocations: 21.55 kB / 3.426 GB, free: 40.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/10.21, allocations: 10.97 kB / 3.426 GB, free: 40.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003504/10.21, allocations: 236.2 kB / 3.426 GB, free: 40.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.21, allocations: 0 / 3.426 GB, free: 40.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003061/10.21, allocations: 0.545 MB / 3.426 GB, free: 40.19 MB / 426.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.006661/10.22, allocations: 2.247 MB / 3.429 GB, free: 39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/10.22, allocations: 0.5198 MB / 3.429 GB, free: 38.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/10.22, allocations: 4 kB / 3.429 GB, free: 38.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/10.22, allocations: 295.3 kB / 3.429 GB, free: 38.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/10.22, allocations: 191.7 kB / 3.43 GB, free: 38.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/10.23, allocations: 4.978 MB / 3.435 GB, free: 34.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/10.23, allocations: 0.8265 MB / 3.435 GB, free: 33.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/10.23, allocations: 142.8 kB / 3.435 GB, free: 33.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/10.23, allocations: 3.875 kB / 3.435 GB, free: 33.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.171/13.4, allocations: 20 MB / 3.455 GB, free: 27.14 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat