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_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_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_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.0011/0.0011, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.469/1.469, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008596/0.0008597, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.723e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07791/0.07796, allocations: 47.58 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.931/6.009, allocations: 2.74 GB / 3.101 GB, free: 21.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/6.01, allocations: 103 kB / 3.101 GB, free: 21.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01/7.02, allocations: 294.5 MB / 3.389 GB, free: 57.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/7.02, allocations: 0 / 3.389 GB, free: 57.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/7.02, allocations: 11.56 kB / 3.389 GB, free: 57.66 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.003142/7.023, allocations: 0.9138 MB / 3.39 GB, free: 57.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/7.023, allocations: 6.531 kB / 3.39 GB, free: 57.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.267e-05/7.023, allocations: 74.72 kB / 3.39 GB, free: 56.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007923/7.024, allocations: 82.92 kB / 3.39 GB, free: 56.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/7.024, allocations: 301.1 kB / 3.39 GB, free: 56.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/7.025, allocations: 22.66 kB / 3.39 GB, free: 56.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/7.025, allocations: 34.88 kB / 3.391 GB, free: 56.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/7.025, allocations: 453.4 kB / 3.391 GB, free: 56.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/7.025, allocations: 0 / 3.391 GB, free: 56.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/7.025, allocations: 15.28 kB / 3.391 GB, free: 56.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/7.025, allocations: 6.812 kB / 3.391 GB, free: 56.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/7.026, allocations: 324.5 kB / 3.391 GB, free: 56.27 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.002409/7.028, allocations: 2.626 MB / 3.394 GB, free: 53.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/7.029, allocations: 260.5 kB / 3.394 GB, free: 53.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/7.029, allocations: 102.2 kB / 3.394 GB, free: 53.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02768/7.057, allocations: 15.38 MB / 3.409 GB, free: 41.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/7.057, allocations: 35 kB / 3.409 GB, free: 41.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/7.057, allocations: 4 kB / 3.409 GB, free: 41.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004087/7.061, allocations: 1.178 MB / 3.41 GB, free: 40.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/7.061, allocations: 59.34 kB / 3.41 GB, free: 40.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/7.061, allocations: 242.8 kB / 3.411 GB, free: 40.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/7.061, allocations: 29.7 kB / 3.411 GB, free: 40.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/7.061, allocations: 192 kB / 3.411 GB, free: 39.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/7.061, allocations: 114.3 kB / 3.411 GB, free: 39.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/7.061, allocations: 12 kB / 3.411 GB, free: 39.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/7.062, allocations: 338.8 kB / 3.411 GB, free: 39.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/7.062, allocations: 92.88 kB / 3.411 GB, free: 39.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/7.062, allocations: 218.9 kB / 3.412 GB, free: 39.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/7.062, allocations: 127.9 kB / 3.412 GB, free: 38.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/7.062, allocations: 0 / 3.412 GB, free: 38.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000592/7.063, allocations: 430.6 kB / 3.412 GB, free: 38.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/7.063, allocations: 8 kB / 3.412 GB, free: 38.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/7.063, allocations: 4.5 kB / 3.412 GB, free: 38.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/7.067, allocations: 265.4 kB / 3.412 GB, free: 38.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/7.067, allocations: 83.83 kB / 3.413 GB, free: 38.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/7.068, allocations: 1.867 MB / 3.414 GB, free: 36.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/7.068, allocations: 32.08 kB / 3.414 GB, free: 36.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/7.068, allocations: 20 kB / 3.414 GB, free: 36.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 () * 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.0001008/7.068, allocations: 132.8 kB / 3.415 GB, free: 35.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/7.068, allocations: 31.62 kB / 3.415 GB, free: 35.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009218/7.069, allocations: 0.9439 MB / 3.415 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/7.069, allocations: 11.98 kB / 3.415 GB, free: 34.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/7.069, allocations: 4 kB / 3.415 GB, free: 34.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006981/7.07, allocations: 1.115 MB / 3.417 GB, free: 33.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/7.072, allocations: 1.581 MB / 3.418 GB, free: 32.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/7.072, allocations: 0 / 3.418 GB, free: 32.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/7.072, allocations: 47.91 kB / 3.418 GB, free: 32.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/7.073, allocations: 287.9 kB / 3.418 GB, free: 31.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/7.073, allocations: 8 kB / 3.418 GB, free: 31.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003906/7.074, allocations: 0.6769 MB / 3.419 GB, free: 31.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/7.074, allocations: 0 / 3.419 GB, free: 31.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008445/7.075, allocations: 0.9412 MB / 3.42 GB, free: 30.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/7.075, allocations: 136.4 kB / 3.42 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/7.075, allocations: 8.125 kB / 3.42 GB, free: 29.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/7.075, allocations: 19.98 kB / 3.42 GB, free: 29.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/7.075, allocations: 19.92 kB / 3.42 GB, free: 29.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/7.075, allocations: 15.98 kB / 3.42 GB, free: 29.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002093/7.075, allocations: 238.1 kB / 3.42 GB, free: 29.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/7.075, allocations: 0 / 3.42 GB, free: 29.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002828/7.078, allocations: 0.5388 MB / 3.421 GB, free: 29.1 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 () * 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.003757/7.082, allocations: 2.249 MB / 3.423 GB, free: 26.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007484/7.083, allocations: 0.5113 MB / 3.424 GB, free: 26.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/7.083, allocations: 0 / 3.424 GB, free: 26.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/7.083, allocations: 284.4 kB / 3.424 GB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/7.084, allocations: 192.9 kB / 3.424 GB, free: 25.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/7.086, allocations: 0.9821 MB / 3.425 GB, free: 24.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/7.086, allocations: 0.8323 MB / 3.426 GB, free: 24.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002914/7.087, allocations: 107.1 kB / 3.426 GB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/7.087, allocations: 143.4 kB / 3.426 GB, free: 23.84 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/7.087, allocations: 0 / 3.426 GB, free: 23.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2812/7.368, allocations: 29.26 MB / 3.455 GB, free: 62.85 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/7.368, allocations: 206.7 kB / 3.455 GB, free: 62.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/10.04, allocations: 4 kB / 3.455 GB, free: 62.62 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat