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.IdealSteam.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.IdealSteam,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",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.001507/0.001507, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.001169, allocations: 95.83 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.647e-05, allocations: 4 kB / 314.9 MB, free: 9.035 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4342, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.644, allocations: 438.1 MB / 0.7818 GB, free: 42.04 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/1.644, allocations: 104.3 kB / 0.7819 GB, free: 41.98 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.772/2.416, allocations: 152.1 MB / 0.9304 GB, free: 70.57 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.054e-06/2.416, allocations: 0 / 0.9304 GB, free: 70.57 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.522e-05/2.416, allocations: 15.98 kB / 0.9304 GB, free: 70.56 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001195/2.417, allocations: 0.5952 MB / 0.931 GB, free: 69.92 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/2.417, allocations: 12.03 kB / 0.931 GB, free: 69.91 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/2.418, allocations: 51.5 kB / 0.931 GB, free: 69.86 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/2.418, allocations: 270.6 kB / 0.9313 GB, free: 69.55 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/2.418, allocations: 8 kB / 0.9313 GB, free: 69.55 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/2.418, allocations: 16 kB / 0.9313 GB, free: 69.53 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004597/2.419, allocations: 177.1 kB / 0.9315 GB, free: 69.36 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/2.419, allocations: 270.6 kB / 0.9318 GB, free: 69.07 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/2.42, allocations: 3.938 kB / 0.9318 GB, free: 69.06 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/2.42, allocations: 4 kB / 0.9318 GB, free: 69.06 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/2.42, allocations: 7.953 kB / 0.9318 GB, free: 69.05 MB / 427.1 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.002201/2.422, allocations: 1.555 MB / 0.9333 GB, free: 67.35 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/2.422, allocations: 142.6 kB / 0.9334 GB, free: 67.2 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/2.422, allocations: 76.86 kB / 0.9335 GB, free: 67.12 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/2.422, allocations: 11.92 kB / 0.9335 GB, free: 67.11 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/2.422, allocations: 34.91 kB / 0.9335 GB, free: 67.07 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 3.186e-06/2.422, allocations: 0 / 0.9335 GB, free: 67.07 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.006685/2.429, allocations: 0.9879 MB / 0.9345 GB, free: 66 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/2.429, allocations: 55.41 kB / 0.9346 GB, free: 65.94 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/2.429, allocations: 199.9 kB / 0.9348 GB, free: 65.74 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/2.43, allocations: 33.62 kB / 0.9348 GB, free: 65.7 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/2.43, allocations: 250.1 kB / 0.935 GB, free: 65.45 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/2.43, allocations: 78.81 kB / 0.9351 GB, free: 65.38 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/2.43, allocations: 0 / 0.9351 GB, free: 65.38 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.864e-05/2.43, allocations: 326.8 kB / 0.9354 GB, free: 65.05 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/2.43, allocations: 79.98 kB / 0.9355 GB, free: 64.97 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/2.43, allocations: 164 kB / 0.9356 GB, free: 64.77 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/2.431, allocations: 112.4 kB / 0.9357 GB, free: 64.66 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/2.431, allocations: 4 kB / 0.9358 GB, free: 64.65 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008334/2.431, allocations: 350.8 kB / 0.9361 GB, free: 64.3 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/2.431, allocations: 6.656 kB / 0.9361 GB, free: 64.29 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/2.431, allocations: 4 kB / 0.9361 GB, free: 64.29 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/2.432, allocations: 66.09 kB / 0.9362 GB, free: 64.22 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/2.432, allocations: 87.83 kB / 0.9362 GB, free: 64.13 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/2.434, allocations: 1.809 MB / 0.938 GB, free: 62.19 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/2.434, allocations: 15.94 kB / 0.938 GB, free: 62.17 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/2.434, allocations: 39.98 kB / 0.9381 GB, free: 62.13 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001438/2.434, allocations: 113.8 kB / 0.9382 GB, free: 62.02 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006332/2.435, allocations: 256.5 kB / 0.9384 GB, free: 61.75 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/2.435, allocations: 31.66 kB / 0.9384 GB, free: 61.72 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/2.436, allocations: 357.5 kB / 0.9388 GB, free: 61.36 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/2.436, allocations: 4 kB / 0.9388 GB, free: 61.36 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/2.436, allocations: 0 / 0.9388 GB, free: 61.36 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000555/2.437, allocations: 0.5515 MB / 0.9393 GB, free: 60.72 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/2.438, allocations: 0.6499 MB / 0.94 GB, free: 60.02 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/2.438, allocations: 8.062 kB / 0.94 GB, free: 60.01 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/2.439, allocations: 67.95 kB / 0.94 GB, free: 59.94 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/2.439, allocations: 20.8 kB / 0.9401 GB, free: 59.92 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/2.439, allocations: 12 kB / 0.9401 GB, free: 59.91 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008092/2.44, allocations: 1.233 MB / 0.9413 GB, free: 58.56 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/2.44, allocations: 0 / 0.9413 GB, free: 58.56 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/2.44, allocations: 473.4 kB / 0.9417 GB, free: 58.06 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/2.441, allocations: 96.83 kB / 0.9418 GB, free: 57.95 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/2.441, allocations: 7.984 kB / 0.9418 GB, free: 57.94 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/2.441, allocations: 8 kB / 0.9418 GB, free: 57.93 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/2.441, allocations: 28.03 kB / 0.9419 GB, free: 57.9 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/2.441, allocations: 27.98 kB / 0.9419 GB, free: 57.88 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001808/2.441, allocations: 156.5 kB / 0.942 GB, free: 57.72 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.51e-07/2.441, allocations: 0 / 0.942 GB, free: 57.72 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009378/2.442, allocations: 175.8 kB / 0.9422 GB, free: 57.55 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002435/2.445, allocations: 1.927 MB / 0.9441 GB, free: 55.58 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0008324/2.446, allocations: 346.1 kB / 0.9444 GB, free: 55.23 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/2.446, allocations: 4 kB / 0.9444 GB, free: 55.23 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/2.446, allocations: 217.6 kB / 0.9446 GB, free: 55 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/2.447, allocations: 120.8 kB / 0.9447 GB, free: 54.89 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/2.449, allocations: 0.5882 MB / 0.9453 GB, free: 54.25 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/2.449, allocations: 0.7679 MB / 0.9461 GB, free: 53.45 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/2.45, allocations: 131.4 kB / 0.9462 GB, free: 53.32 MB / 427.1 MB Notification: Performance of SimCode: time 1.373e-06/2.45, allocations: 0 / 0.9462 GB, free: 53.32 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.054/5.504, allocations: 12.32 MB / 0.9582 GB, free: 40.98 MB / 427.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.IdealSteam_res.mat does not exist to compare? outputFormat=mat