Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",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.001065/0.001065, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 86.2 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.003e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 47.6 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.189/6.299, allocations: 2.741 GB / 3.096 GB, free: 48.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/6.299, allocations: 93.44 kB / 3.096 GB, free: 47.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.779/8.078, allocations: 423.1 MB / 3.509 GB, free: 40.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/8.078, allocations: 0 / 3.509 GB, free: 40.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/8.078, allocations: 7.125 kB / 3.509 GB, free: 40.77 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.005055/8.083, allocations: 1.261 MB / 3.51 GB, free: 40.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/8.083, allocations: 8.125 kB / 3.51 GB, free: 40.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/8.085, allocations: 163.6 kB / 3.511 GB, free: 40.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/8.085, allocations: 314.8 kB / 3.511 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/8.085, allocations: 16.41 kB / 3.511 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/8.085, allocations: 17.06 kB / 3.511 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004852/8.086, allocations: 300.1 kB / 3.511 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/8.086, allocations: 367.3 kB / 3.512 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/8.086, allocations: 3.219 kB / 3.512 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/8.087, allocations: 3.156 kB / 3.512 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/8.087, allocations: 8.656 kB / 3.512 GB, free: 39.89 MB / 426.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.002878/8.089, allocations: 2.543 MB / 3.514 GB, free: 38.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/8.09, allocations: 238.8 kB / 3.514 GB, free: 37.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/8.09, allocations: 114 kB / 3.514 GB, free: 37.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/8.091, allocations: 0.5573 MB / 3.515 GB, free: 37.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/8.091, allocations: 37.16 kB / 3.515 GB, free: 37.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/8.091, allocations: 3.375 kB / 3.515 GB, free: 37.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002929/8.094, allocations: 0.9899 MB / 3.516 GB, free: 37.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/8.094, allocations: 60.97 kB / 3.516 GB, free: 37.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/8.094, allocations: 191.2 kB / 3.516 GB, free: 36.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/8.094, allocations: 25.7 kB / 3.516 GB, free: 36.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/8.094, allocations: 188.3 kB / 3.516 GB, free: 36.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.857e-05/8.094, allocations: 111.3 kB / 3.516 GB, free: 36.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/8.094, allocations: 0 / 3.516 GB, free: 36.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/8.094, allocations: 335.1 kB / 3.517 GB, free: 36.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/8.095, allocations: 100.3 kB / 3.517 GB, free: 36.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/8.095, allocations: 189.1 kB / 3.517 GB, free: 36.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/8.095, allocations: 127.2 kB / 3.517 GB, free: 36.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/8.095, allocations: 0 / 3.517 GB, free: 36.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007831/8.096, allocations: 409.6 kB / 3.518 GB, free: 36.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/8.096, allocations: 12.34 kB / 3.518 GB, free: 36.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/8.096, allocations: 0 / 3.518 GB, free: 36.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/8.096, allocations: 78.08 kB / 3.518 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/8.097, allocations: 101.9 kB / 3.518 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/8.098, allocations: 2.327 MB / 3.52 GB, free: 34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/8.099, allocations: 60.78 kB / 3.52 GB, free: 34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/8.099, allocations: 20.53 kB / 3.52 GB, free: 34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001258/8.099, allocations: 114.2 kB / 3.52 GB, free: 33.89 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005578/8.099, allocations: 307.9 kB / 3.521 GB, free: 33.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/8.099, allocations: 34.28 kB / 3.521 GB, free: 33.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/8.101, allocations: 1.104 MB / 3.522 GB, free: 33.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/8.101, allocations: 15.08 kB / 3.522 GB, free: 33.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/8.101, allocations: 0 / 3.522 GB, free: 33.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009163/8.102, allocations: 1.249 MB / 3.523 GB, free: 33.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/8.103, allocations: 1.781 MB / 3.525 GB, free: 32.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/8.103, allocations: 0 / 3.525 GB, free: 32.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/8.104, allocations: 87 kB / 3.525 GB, free: 32.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002675/8.104, allocations: 68.7 kB / 3.525 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/8.104, allocations: 7.297 kB / 3.525 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003547/8.104, allocations: 0.6169 MB / 3.525 GB, free: 32.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/8.104, allocations: 3.891 kB / 3.525 GB, free: 32.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/8.106, allocations: 1.009 MB / 3.526 GB, free: 32.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/8.106, allocations: 145.2 kB / 3.526 GB, free: 31.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/8.106, allocations: 7.688 kB / 3.526 GB, free: 31.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/8.106, allocations: 41.48 kB / 3.527 GB, free: 31.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/8.106, allocations: 29.08 kB / 3.527 GB, free: 31.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/8.106, allocations: 15.12 kB / 3.527 GB, free: 31.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002194/8.107, allocations: 210.6 kB / 3.527 GB, free: 31.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/8.107, allocations: 0 / 3.527 GB, free: 31.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004778/8.111, allocations: 0.8645 MB / 3.528 GB, free: 31.7 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.h) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009064/8.121, allocations: 2.857 MB / 3.53 GB, free: 30.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/8.122, allocations: 0.5277 MB / 3.531 GB, free: 30.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/8.122, allocations: 0 / 3.531 GB, free: 30.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003941/8.122, allocations: 323 kB / 3.531 GB, free: 30.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009757/8.123, allocations: 151.1 kB / 3.531 GB, free: 30.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/8.128, allocations: 1.193 MB / 3.533 GB, free: 30.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/8.129, allocations: 0.8617 MB / 3.533 GB, free: 29.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004299/8.129, allocations: 173.5 kB / 3.534 GB, free: 29.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/8.129, allocations: 162.1 kB / 3.534 GB, free: 29.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.275e-06/8.129, allocations: 0 / 3.534 GB, free: 29.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06959/8.199, allocations: 31.37 MB / 3.564 GB, free: 28.55 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/8.199, allocations: 154.8 kB / 3.564 GB, free: 28.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/11.19, allocations: 3.938 kB / 3.564 GB, free: 28.36 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat