Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001702/0.001708, allocations: 180.2 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00114/0.00114, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.557e-05, allocations: 0 / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 47.58 MB / 369.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.672/9.778, allocations: 3.068 GB / 3.429 GB, free: 10.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/9.778, allocations: 97.36 kB / 3.429 GB, free: 10.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.793/14.57, allocations: 0.9788 GB / 4.408 GB, free: 5.988 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/14.57, allocations: 0 / 4.408 GB, free: 5.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.709e-05/14.57, allocations: 8 kB / 4.408 GB, free: 5.98 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.005422/14.58, allocations: 1.204 MB / 4.409 GB, free: 4.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/14.58, allocations: 8.031 kB / 4.409 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.057e-05/14.58, allocations: 62.48 kB / 4.409 GB, free: 4.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/14.58, allocations: 47.56 kB / 4.409 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/14.58, allocations: 274.5 kB / 4.409 GB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/14.58, allocations: 28.55 kB / 4.409 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/14.58, allocations: 24 kB / 4.409 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/14.58, allocations: 283.7 kB / 4.409 GB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/14.58, allocations: 8 kB / 4.409 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/14.58, allocations: 7.938 kB / 4.409 GB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/14.58, allocations: 12 kB / 4.41 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/14.58, allocations: 193.6 kB / 4.41 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/14.58, allocations: 1.436 MB / 4.411 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/14.58, allocations: 175.2 kB / 4.411 GB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/14.58, allocations: 85.23 kB / 4.411 GB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/14.58, allocations: 4.188 kB / 4.411 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/14.58, allocations: 30.75 kB / 4.411 GB, free: 1.953 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.766e-06/14.58, allocations: 0 / 4.411 GB, free: 1.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003438/14.59, allocations: 0.8706 MB / 4.412 GB, free: 1.027 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/14.59, allocations: 59.41 kB / 4.412 GB, free: 0.957 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/14.59, allocations: 222.9 kB / 4.412 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/14.59, allocations: 33.7 kB / 4.413 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/14.59, allocations: 234.4 kB / 4.413 GB, free: 472 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/14.59, allocations: 98.58 kB / 4.413 GB, free: 372 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/14.59, allocations: 9.75 kB / 4.413 GB, free: 364 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/14.59, allocations: 322.8 kB / 4.413 GB, free: 32 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3873/14.97, allocations: 77.36 kB / 4.413 GB, free: 64.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/14.97, allocations: 173.9 kB / 4.413 GB, free: 63.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/14.97, allocations: 114.7 kB / 4.414 GB, free: 63.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/14.97, allocations: 1.984 kB / 4.414 GB, free: 63.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001744/14.98, allocations: 364.7 kB / 4.414 GB, free: 63.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/14.98, allocations: 7.219 kB / 4.414 GB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/14.98, allocations: 2.656 kB / 4.414 GB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/14.98, allocations: 66.17 kB / 4.414 GB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/14.98, allocations: 68.19 kB / 4.414 GB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/14.98, allocations: 2.669 MB / 4.417 GB, free: 61.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/14.98, allocations: 20.44 kB / 4.417 GB, free: 61.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/14.98, allocations: 11.09 kB / 4.417 GB, free: 61.41 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 0.0002059/14.98, allocations: 123.2 kB / 4.417 GB, free: 61.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/14.98, allocations: 27.66 kB / 4.417 GB, free: 61.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/14.98, allocations: 38.11 kB / 4.417 GB, free: 61.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/14.98, allocations: 3.156 kB / 4.417 GB, free: 61.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/14.98, allocations: 1 kB / 4.417 GB, free: 61.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/14.98, allocations: 0.5585 MB / 4.417 GB, free: 60.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/14.99, allocations: 0.698 MB / 4.418 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/14.99, allocations: 1.219 kB / 4.418 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/14.99, allocations: 47.2 kB / 4.418 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005717/14.99, allocations: 51.7 kB / 4.418 GB, free: 60.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/14.99, allocations: 15.02 kB / 4.418 GB, free: 60.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/14.99, allocations: 1.377 MB / 4.42 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/14.99, allocations: 3.328 kB / 4.42 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/14.99, allocations: 479.5 kB / 4.42 GB, free: 59.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/14.99, allocations: 101.5 kB / 4.42 GB, free: 58.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/14.99, allocations: 10.5 kB / 4.42 GB, free: 58.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/14.99, allocations: 14.98 kB / 4.42 GB, free: 58.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/14.99, allocations: 20.22 kB / 4.42 GB, free: 58.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/14.99, allocations: 7.844 kB / 4.42 GB, free: 58.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004424/14.99, allocations: 182.9 kB / 4.42 GB, free: 58.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/14.99, allocations: 0 / 4.42 GB, free: 58.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001341/15, allocations: 119.9 kB / 4.42 GB, free: 58.91 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.002702/15, allocations: 1.265 MB / 4.422 GB, free: 58.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/15, allocations: 470.7 kB / 4.422 GB, free: 57.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/15, allocations: 0 / 4.422 GB, free: 57.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008582/15, allocations: 237.6 kB / 4.422 GB, free: 57.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/15, allocations: 150.7 kB / 4.422 GB, free: 57.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/15.01, allocations: 0.5894 MB / 4.423 GB, free: 57.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/15.01, allocations: 0.7685 MB / 4.424 GB, free: 56.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/15.01, allocations: 86.09 kB / 4.424 GB, free: 56.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/15.01, allocations: 1.312 kB / 4.424 GB, free: 56.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.958/17.97, allocations: 8.415 MB / 4.432 GB, free: 56.74 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat