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.001549/0.001548, allocations: 187.9 kB / 16.41 MB, free: 5.723 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.974/1.974, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001161/0.001161, allocations: 93.78 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004133, allocations: 8 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3427, allocations: 47.57 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.993/9.335, allocations: 3.068 GB / 3.434 GB, free: 41.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/9.336, allocations: 98.25 kB / 3.434 GB, free: 41.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.32/13.66, allocations: 0.9795 GB / 4.414 GB, free: 28.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.415e-06/13.66, allocations: 0 / 4.414 GB, free: 28.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/13.66, allocations: 8 kB / 4.414 GB, free: 28.08 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.005069/13.66, allocations: 1.23 MB / 4.415 GB, free: 26.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/13.66, allocations: 16.03 kB / 4.415 GB, free: 26.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.671e-05/13.66, allocations: 62.11 kB / 4.415 GB, free: 26.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/13.66, allocations: 40.36 kB / 4.415 GB, free: 26.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/13.66, allocations: 269.7 kB / 4.415 GB, free: 26.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/13.66, allocations: 20.56 kB / 4.415 GB, free: 26.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/13.66, allocations: 24 kB / 4.415 GB, free: 26.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/13.66, allocations: 297.8 kB / 4.416 GB, free: 26.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/13.66, allocations: 8 kB / 4.416 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/13.66, allocations: 4 kB / 4.416 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/13.66, allocations: 8 kB / 4.416 GB, free: 26.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/13.66, allocations: 192.6 kB / 4.416 GB, free: 26.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/13.67, allocations: 1.443 MB / 4.417 GB, free: 24.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/13.67, allocations: 173.6 kB / 4.417 GB, free: 24.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/13.67, allocations: 8.188 kB / 4.417 GB, free: 24.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/13.67, allocations: 34.69 kB / 4.418 GB, free: 24.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/13.67, allocations: 0 / 4.418 GB, free: 24.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.00353/13.67, allocations: 1.006 MB / 4.418 GB, free: 23.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/13.67, allocations: 67.06 kB / 4.419 GB, free: 23.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/13.67, allocations: 229.1 kB / 4.419 GB, free: 23.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/13.67, allocations: 29.7 kB / 4.419 GB, free: 23.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/13.67, allocations: 243.8 kB / 4.419 GB, free: 22.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.277e-05/13.67, allocations: 87.28 kB / 4.419 GB, free: 22.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/13.67, allocations: 8 kB / 4.419 GB, free: 22.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/13.67, allocations: 325.8 kB / 4.419 GB, free: 22.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/13.67, allocations: 79.92 kB / 4.42 GB, free: 22.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/13.67, allocations: 177.9 kB / 4.42 GB, free: 22.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/13.67, allocations: 118.1 kB / 4.42 GB, free: 22.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/13.67, allocations: 4 kB / 4.42 GB, free: 22.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009751/13.67, allocations: 368.5 kB / 4.42 GB, free: 21.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/13.67, allocations: 12.03 kB / 4.42 GB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/13.67, allocations: 4 kB / 4.42 GB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/13.67, allocations: 64.16 kB / 4.42 GB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/13.67, allocations: 66.27 kB / 4.42 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/13.67, allocations: 2.685 MB / 4.423 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/13.68, allocations: 23.84 kB / 4.423 GB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/13.68, allocations: 15.19 kB / 4.423 GB, free: 18.68 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 () * Number of clocked 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.0001953/13.68, allocations: 161.7 kB / 4.423 GB, free: 18.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/13.68, allocations: 27.72 kB / 4.423 GB, free: 18.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-05/13.68, allocations: 36.38 kB / 4.423 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/13.68, allocations: 4 kB / 4.423 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/13.68, allocations: 0 / 4.423 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008049/13.68, allocations: 0.5612 MB / 4.424 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/13.68, allocations: 0.7034 MB / 4.424 GB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/13.68, allocations: 0 / 4.424 GB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/13.68, allocations: 46.56 kB / 4.424 GB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/13.68, allocations: 64.52 kB / 4.425 GB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/13.68, allocations: 7.469 kB / 4.425 GB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/13.68, allocations: 1.398 MB / 4.426 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/13.68, allocations: 4.031 kB / 4.426 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009769/13.68, allocations: 479.4 kB / 4.426 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/13.68, allocations: 104.6 kB / 4.426 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/13.68, allocations: 4 kB / 4.426 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/13.68, allocations: 19.88 kB / 4.426 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/13.68, allocations: 18.98 kB / 4.426 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/13.68, allocations: 19.91 kB / 4.426 GB, free: 14.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002104/13.68, allocations: 185 kB / 4.427 GB, free: 14.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/13.68, allocations: 0 / 4.427 GB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007488/13.68, allocations: 116 kB / 4.427 GB, free: 14.68 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 () * Number of clocked 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.001541/13.68, allocations: 1.276 MB / 4.428 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009141/13.69, allocations: 462.2 kB / 4.428 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/13.69, allocations: 0.75 kB / 4.428 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/13.69, allocations: 233.7 kB / 4.429 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/13.69, allocations: 160.5 kB / 4.429 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/13.69, allocations: 3.718 MB / 4.432 GB, free: 9.027 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/13.69, allocations: 0.7737 MB / 4.433 GB, free: 8.262 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/13.69, allocations: 87.17 kB / 4.433 GB, free: 8.188 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/13.69, allocations: 0 / 4.433 GB, free: 8.188 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/16.49, allocations: 8.445 MB / 4.442 GB, free: 0.6797 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