Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_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.001275/0.001275, allocations: 172.3 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.528/1.528, 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.001148/0.001148, allocations: 90.66 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.502e-05, allocations: 4 kB / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 47.57 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.521/6.633, allocations: 3.068 GB / 3.43 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/6.633, allocations: 95.81 kB / 3.43 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.998/9.631, allocations: 0.9787 GB / 4.409 GB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/9.631, allocations: 0 / 4.409 GB, free: 11.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.499e-05/9.631, allocations: 8 kB / 4.409 GB, free: 11.12 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.004798/9.636, allocations: 1.199 MB / 4.41 GB, free: 9.941 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/9.636, allocations: 8.031 kB / 4.41 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/9.636, allocations: 62.53 kB / 4.41 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/9.636, allocations: 43.58 kB / 4.41 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/9.637, allocations: 280.6 kB / 4.41 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/9.637, allocations: 24.56 kB / 4.41 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/9.637, allocations: 24 kB / 4.41 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/9.637, allocations: 287.7 kB / 4.41 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/9.637, allocations: 0 / 4.41 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/9.637, allocations: 12 kB / 4.41 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/9.637, allocations: 12 kB / 4.41 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/9.638, allocations: 189.6 kB / 4.411 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/9.639, allocations: 1.434 MB / 4.412 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/9.639, allocations: 175.2 kB / 4.412 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/9.639, allocations: 92.83 kB / 4.412 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/9.64, allocations: 4.188 kB / 4.412 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/9.64, allocations: 30.75 kB / 4.412 GB, free: 7.078 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/9.64, allocations: 0 / 4.412 GB, free: 7.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002098/9.642, allocations: 0.8659 MB / 4.413 GB, free: 6.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/9.642, allocations: 59.41 kB / 4.413 GB, free: 6.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/9.642, allocations: 234.8 kB / 4.413 GB, free: 5.848 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/9.642, allocations: 29.7 kB / 4.413 GB, free: 5.812 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/9.642, allocations: 176 kB / 4.414 GB, free: 5.637 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/9.642, allocations: 94.64 kB / 4.414 GB, free: 5.543 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/9.642, allocations: 4 kB / 4.414 GB, free: 5.539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.661e-05/9.642, allocations: 338.8 kB / 4.414 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/9.642, allocations: 80 kB / 4.414 GB, free: 5.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/9.643, allocations: 174.9 kB / 4.414 GB, free: 4.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/9.643, allocations: 112.2 kB / 4.414 GB, free: 4.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/9.643, allocations: 0 / 4.414 GB, free: 4.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005628/9.643, allocations: 382.6 kB / 4.415 GB, free: 4.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/9.643, allocations: 8 kB / 4.415 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/9.643, allocations: 4 kB / 4.415 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/9.644, allocations: 69.98 kB / 4.415 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/9.644, allocations: 63.91 kB / 4.415 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/9.645, allocations: 2.673 MB / 4.417 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/9.646, allocations: 23.92 kB / 4.418 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/9.646, allocations: 16 kB / 4.418 GB, free: 1.293 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 8.145e-05/9.646, allocations: 121 kB / 4.418 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/9.646, allocations: 27.72 kB / 4.418 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/9.646, allocations: 33.95 kB / 4.418 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/9.646, allocations: 4 kB / 4.418 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/9.646, allocations: 0 / 4.418 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004554/9.646, allocations: 0.5687 MB / 4.418 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2383/9.885, allocations: 0.6876 MB / 4.419 GB, free: 64.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/9.885, allocations: 1.219 kB / 4.419 GB, free: 64.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/9.885, allocations: 46.86 kB / 4.419 GB, free: 64.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002599/9.885, allocations: 49.05 kB / 4.419 GB, free: 64.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/9.885, allocations: 7.781 kB / 4.419 GB, free: 64.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009396/9.886, allocations: 1.377 MB / 4.42 GB, free: 63.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/9.886, allocations: 4.812 kB / 4.42 GB, free: 63.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/9.887, allocations: 476.5 kB / 4.421 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/9.887, allocations: 105.1 kB / 4.421 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/9.887, allocations: 8.141 kB / 4.421 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/9.887, allocations: 18 kB / 4.421 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/9.887, allocations: 14.7 kB / 4.421 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/9.887, allocations: 14.45 kB / 4.421 GB, free: 62.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000183/9.887, allocations: 180.6 kB / 4.421 GB, free: 62.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/9.887, allocations: 0 / 4.421 GB, free: 62.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006111/9.888, allocations: 115.9 kB / 4.421 GB, free: 62.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/9.889, allocations: 1.272 MB / 4.423 GB, free: 61.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006573/9.89, allocations: 469.5 kB / 4.423 GB, free: 61.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/9.89, allocations: 1.531 kB / 4.423 GB, free: 61.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003414/9.89, allocations: 232.9 kB / 4.423 GB, free: 61.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/9.891, allocations: 156.8 kB / 4.423 GB, free: 61.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/9.892, allocations: 0.5561 MB / 4.424 GB, free: 61.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/9.892, allocations: 0.772 MB / 4.425 GB, free: 60.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002659/9.893, allocations: 52.62 kB / 4.425 GB, free: 60.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/9.893, allocations: 87.14 kB / 4.425 GB, free: 60.73 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/9.893, allocations: 1.641 kB / 4.425 GB, free: 60.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/9.919, allocations: 12.01 MB / 4.436 GB, free: 60.27 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/9.92, allocations: 210.9 kB / 4.437 GB, free: 60.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/11.89, allocations: 0 / 4.437 GB, free: 60.04 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat