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.002107/0.002107, allocations: 186.4 kB / 16.41 MB, free: 5.727 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.975/1.975, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001159/0.001158, allocations: 92.36 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3318, allocations: 47.58 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5595/0.8913, allocations: 188.5 MB / 0.55 GB, free: 50.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.8917, allocations: 103.5 kB / 0.5501 GB, free: 50.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022/1.913, allocations: 210.6 MB / 0.7558 GB, free: 65.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.913, allocations: 4 kB / 0.7558 GB, free: 65.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.525e-05/1.913, allocations: 11.98 kB / 0.7558 GB, free: 65.83 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002627/1.916, allocations: 1.036 MB / 0.7568 GB, free: 64.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.916, allocations: 12.03 kB / 0.7568 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/1.916, allocations: 62.53 kB / 0.7569 GB, free: 64.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/1.917, allocations: 47.61 kB / 0.7569 GB, free: 64.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/1.917, allocations: 301.1 kB / 0.7572 GB, free: 64.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.917, allocations: 20.56 kB / 0.7572 GB, free: 64.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/1.917, allocations: 27.98 kB / 0.7572 GB, free: 64.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/1.918, allocations: 330.2 kB / 0.7576 GB, free: 63.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.918, allocations: 3.906 kB / 0.7576 GB, free: 63.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/1.918, allocations: 12 kB / 0.7576 GB, free: 63.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/1.918, allocations: 8 kB / 0.7576 GB, free: 63.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/1.919, allocations: 189.5 kB / 0.7578 GB, free: 63.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/1.921, allocations: 2.066 MB / 0.7598 GB, free: 61.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/1.921, allocations: 179.7 kB / 0.7599 GB, free: 61.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/1.922, allocations: 259.3 kB / 0.7602 GB, free: 60.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/1.922, allocations: 38.56 kB / 0.7602 GB, free: 60.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.256e-06/1.922, allocations: 0 / 0.7602 GB, free: 60.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.00364/1.925, allocations: 1.019 MB / 0.7612 GB, free: 59.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/1.925, allocations: 55.41 kB / 0.7613 GB, free: 59.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/1.926, allocations: 241.6 kB / 0.7615 GB, free: 59.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/1.926, allocations: 33.7 kB / 0.7615 GB, free: 59.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.926, allocations: 234.6 kB / 0.7618 GB, free: 59.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/1.926, allocations: 106.5 kB / 0.7619 GB, free: 59.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/1.926, allocations: 11.94 kB / 0.7619 GB, free: 59.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/1.926, allocations: 330.8 kB / 0.7622 GB, free: 58.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/1.926, allocations: 84.7 kB / 0.7623 GB, free: 58.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/1.927, allocations: 162.8 kB / 0.7624 GB, free: 58.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/1.927, allocations: 111.9 kB / 0.7625 GB, free: 58.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.927, allocations: 0 / 0.7625 GB, free: 58.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008664/1.928, allocations: 373.7 kB / 0.7629 GB, free: 57.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.928, allocations: 8 kB / 0.7629 GB, free: 57.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.928, allocations: 4 kB / 0.7629 GB, free: 57.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/1.929, allocations: 89.11 kB / 0.763 GB, free: 57.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/1.929, allocations: 71.83 kB / 0.7631 GB, free: 57.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006193/1.93, allocations: 0.6577 MB / 0.7637 GB, free: 57.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/1.93, allocations: 11.98 kB / 0.7637 GB, free: 57.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/1.93, allocations: 20 kB / 0.7637 GB, free: 57.08 MB / 426.7 MB 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 () * Number of clocked 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002364/1.93, allocations: 154.3 kB / 0.7639 GB, free: 56.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/1.93, allocations: 27.72 kB / 0.7639 GB, free: 56.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008862/1.931, allocations: 386.2 kB / 0.7643 GB, free: 56.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.931, allocations: 7.953 kB / 0.7643 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.931, allocations: 3.984 kB / 0.7643 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007779/1.932, allocations: 0.567 MB / 0.7648 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/1.934, allocations: 0.7351 MB / 0.7656 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.934, allocations: 0 / 0.7656 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/1.934, allocations: 43.91 kB / 0.7656 GB, free: 54.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007267/1.935, allocations: 108.8 kB / 0.7657 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/1.935, allocations: 7.984 kB / 0.7657 GB, free: 54.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005523/1.935, allocations: 0.6305 MB / 0.7663 GB, free: 54.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.935, allocations: 0 / 0.7663 GB, free: 54.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/1.936, allocations: 0.5013 MB / 0.7668 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/1.936, allocations: 116.7 kB / 0.7669 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/1.937, allocations: 12.06 kB / 0.7669 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/1.937, allocations: 7.938 kB / 0.7669 GB, free: 53.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/1.937, allocations: 19.97 kB / 0.767 GB, free: 53.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/1.937, allocations: 19.98 kB / 0.767 GB, free: 53.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002613/1.937, allocations: 197.9 kB / 0.7672 GB, free: 53.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.937, allocations: 0 / 0.7672 GB, free: 53.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008354/1.938, allocations: 151.9 kB / 0.7673 GB, free: 53.13 MB / 426.7 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 () * Number of clocked 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.00169/1.94, allocations: 1.31 MB / 0.7686 GB, free: 51.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007342/1.941, allocations: 247.5 kB / 0.7688 GB, free: 51.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.941, allocations: 4 kB / 0.7688 GB, free: 51.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/1.941, allocations: 111.9 kB / 0.7689 GB, free: 51.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.943, allocations: 161.4 kB / 0.7691 GB, free: 51.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/1.946, allocations: 3.356 MB / 0.7724 GB, free: 47.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.947, allocations: 0.7728 MB / 0.7731 GB, free: 47.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/1.947, allocations: 99.41 kB / 0.7732 GB, free: 46.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.947, allocations: 96 / 0.7732 GB, free: 46.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.793/4.74, allocations: 8.535 MB / 0.7816 GB, free: 38.37 MB / 426.7 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