Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",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.001597/0.001597, allocations: 177.8 kB / 8.36 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.1/2.1, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.001141/0.001141, allocations: 94.3 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.854e-05, allocations: 7.984 kB / 314.9 MB, free: 9.031 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3476, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5573/0.905, allocations: 187.8 MB / 0.5373 GB, free: 87.96 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.9053, allocations: 97.05 kB / 0.5374 GB, free: 87.94 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9836/1.889, allocations: 208.6 MB / 0.7412 GB, free: 67.61 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.693e-06/1.889, allocations: 384 / 0.7412 GB, free: 67.61 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.582e-05/1.889, allocations: 12 kB / 0.7412 GB, free: 67.6 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002459/1.892, allocations: 0.9989 MB / 0.7421 GB, free: 66.55 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.892, allocations: 11.97 kB / 0.7422 GB, free: 66.54 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/1.892, allocations: 59.56 kB / 0.7422 GB, free: 66.48 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/1.893, allocations: 292.8 kB / 0.7425 GB, free: 66.16 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/1.893, allocations: 8 kB / 0.7425 GB, free: 66.16 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/1.893, allocations: 16 kB / 0.7425 GB, free: 66.14 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003952/1.893, allocations: 157.1 kB / 0.7427 GB, free: 65.99 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/1.894, allocations: 285.2 kB / 0.7429 GB, free: 65.67 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.894, allocations: 3.938 kB / 0.7429 GB, free: 65.67 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/1.894, allocations: 3.984 kB / 0.7429 GB, free: 65.66 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.894, allocations: 11.95 kB / 0.743 GB, free: 65.65 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/1.896, allocations: 2.005 MB / 0.7449 GB, free: 63.46 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/1.896, allocations: 166.4 kB / 0.7451 GB, free: 63.29 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/1.897, allocations: 76.86 kB / 0.7451 GB, free: 63.21 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/1.897, allocations: 251.3 kB / 0.7454 GB, free: 62.91 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.897, allocations: 38.56 kB / 0.7454 GB, free: 62.86 MB / 411.1 MB Notification: Performance of pre-optimization done (n=24): time 2.846e-06/1.897, allocations: 0 / 0.7454 GB, free: 62.86 MB / 411.1 MB Notification: Performance of matching and sorting (n=30): time 0.004234/1.901, allocations: 0.8077 MB / 0.7462 GB, free: 62 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/1.901, allocations: 67.28 kB / 0.7463 GB, free: 61.93 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/1.901, allocations: 200.4 kB / 0.7465 GB, free: 61.72 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/1.901, allocations: 25.7 kB / 0.7465 GB, free: 61.69 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/1.902, allocations: 246.7 kB / 0.7467 GB, free: 61.45 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/1.902, allocations: 98.56 kB / 0.7468 GB, free: 61.35 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/1.902, allocations: 4 kB / 0.7468 GB, free: 61.35 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 6.649e-05/1.902, allocations: 326.8 kB / 0.7471 GB, free: 61.02 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/1.902, allocations: 76.75 kB / 0.7472 GB, free: 60.94 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/1.902, allocations: 150.3 kB / 0.7474 GB, free: 60.76 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/1.903, allocations: 143.6 kB / 0.7475 GB, free: 60.62 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/1.903, allocations: 0 / 0.7475 GB, free: 60.62 MB / 411.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001136/1.904, allocations: 349.9 kB / 0.7478 GB, free: 60.27 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.904, allocations: 8 kB / 0.7478 GB, free: 60.26 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.904, allocations: 7.938 kB / 0.7478 GB, free: 60.25 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/1.905, allocations: 76.81 kB / 0.7479 GB, free: 60.18 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/1.905, allocations: 68.22 kB / 0.748 GB, free: 60.11 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007736/1.906, allocations: 0.6733 MB / 0.7486 GB, free: 59.41 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/1.906, allocations: 19.89 kB / 0.7487 GB, free: 59.39 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/1.906, allocations: 16 kB / 0.7487 GB, free: 59.38 MB / 411.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002012/1.907, allocations: 121.4 kB / 0.7488 GB, free: 59.25 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001069/1.908, allocations: 302.3 kB / 0.7491 GB, free: 58.95 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/1.908, allocations: 23.72 kB / 0.7491 GB, free: 58.92 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/1.909, allocations: 385.3 kB / 0.7495 GB, free: 58.52 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/1.909, allocations: 7.984 kB / 0.7495 GB, free: 58.51 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.909, allocations: 0 / 0.7495 GB, free: 58.51 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008916/1.91, allocations: 0.5605 MB / 0.75 GB, free: 57.86 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/1.911, allocations: 0.684 MB / 0.7507 GB, free: 57.13 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.911, allocations: 4 kB / 0.7507 GB, free: 57.12 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/1.912, allocations: 43.91 kB / 0.7507 GB, free: 57.08 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/1.912, allocations: 68.81 kB / 0.7508 GB, free: 57.01 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/1.912, allocations: 8.062 kB / 0.7508 GB, free: 57 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006529/1.913, allocations: 0.6499 MB / 0.7514 GB, free: 56.33 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.913, allocations: 0 / 0.7514 GB, free: 56.33 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.914, allocations: 498.8 kB / 0.7519 GB, free: 55.8 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/1.914, allocations: 108.8 kB / 0.752 GB, free: 55.68 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/1.914, allocations: 7.938 kB / 0.752 GB, free: 55.67 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/1.915, allocations: 12 kB / 0.752 GB, free: 55.66 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/1.915, allocations: 23.92 kB / 0.7521 GB, free: 55.63 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/1.915, allocations: 15.98 kB / 0.7521 GB, free: 55.62 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002033/1.915, allocations: 160.5 kB / 0.7522 GB, free: 55.46 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.915, allocations: 0 / 0.7522 GB, free: 55.46 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009341/1.916, allocations: 151.9 kB / 0.7524 GB, free: 55.31 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001874/1.918, allocations: 1.284 MB / 0.7536 GB, free: 54 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000814/1.919, allocations: 244.4 kB / 0.7539 GB, free: 53.76 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/1.919, allocations: 0 / 0.7539 GB, free: 53.76 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/1.919, allocations: 112.8 kB / 0.754 GB, free: 53.65 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/1.92, allocations: 122.4 kB / 0.7541 GB, free: 53.54 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/1.922, allocations: 0.5275 MB / 0.7546 GB, free: 52.96 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/1.922, allocations: 0.7718 MB / 0.7554 GB, free: 52.16 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/1.923, allocations: 95.39 kB / 0.7554 GB, free: 52.07 MB / 411.1 MB Notification: Performance of SimCode: time 1.142e-06/1.923, allocations: 0 / 0.7554 GB, free: 52.07 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.932/4.854, allocations: 8.216 MB / 0.7635 GB, free: 43.85 MB / 411.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat