Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001391/0.001391, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.684/1.684, allocations: 205.4 MB / 223.1 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.001116/0.001116, allocations: 88.11 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002474, allocations: 4 kB / 328.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.266, allocations: 47.57 MB / 375.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.699, allocations: 188.5 MB / 0.5512 GB, free: 50.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.6993, allocations: 99.58 kB / 0.5513 GB, free: 50.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6408/1.34, allocations: 210.6 MB / 0.757 GB, free: 65.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.965e-06/1.34, allocations: 0 / 0.757 GB, free: 65.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.99e-05/1.34, allocations: 8 kB / 0.757 GB, free: 65.71 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.003443/1.344, allocations: 1.04 MB / 0.758 GB, free: 64.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/1.344, allocations: 12.03 kB / 0.7581 GB, free: 64.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/1.344, allocations: 62.53 kB / 0.7581 GB, free: 64.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004889/1.344, allocations: 47.61 kB / 0.7582 GB, free: 64.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/1.345, allocations: 293.2 kB / 0.7584 GB, free: 64.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/1.345, allocations: 24.5 kB / 0.7585 GB, free: 64.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/1.345, allocations: 24 kB / 0.7585 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/1.346, allocations: 330.2 kB / 0.7588 GB, free: 63.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.346, allocations: 7.906 kB / 0.7588 GB, free: 63.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/1.346, allocations: 12 kB / 0.7588 GB, free: 63.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.346, allocations: 4 kB / 0.7588 GB, free: 63.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/1.346, allocations: 189.5 kB / 0.759 GB, free: 63.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/1.348, allocations: 2.07 MB / 0.761 GB, free: 61.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/1.348, allocations: 186.5 kB / 0.7612 GB, free: 61.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/1.349, allocations: 251.3 kB / 0.7614 GB, free: 60.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/1.349, allocations: 38.56 kB / 0.7615 GB, free: 60.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/1.349, allocations: 0 / 0.7615 GB, free: 60.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002322/1.351, allocations: 1.023 MB / 0.7625 GB, free: 59.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/1.351, allocations: 51.41 kB / 0.7625 GB, free: 59.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/1.351, allocations: 245.6 kB / 0.7628 GB, free: 59.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.351, allocations: 37.7 kB / 0.7628 GB, free: 59.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/1.351, allocations: 176.2 kB / 0.763 GB, free: 59.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/1.351, allocations: 106.5 kB / 0.7631 GB, free: 59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/1.351, allocations: 4 kB / 0.7631 GB, free: 59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/1.352, allocations: 342.8 kB / 0.7634 GB, free: 58.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.352, allocations: 84.7 kB / 0.7635 GB, free: 58.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/1.352, allocations: 166.9 kB / 0.7636 GB, free: 58.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/1.352, allocations: 115.8 kB / 0.7637 GB, free: 58.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.352, allocations: 3.938 kB / 0.7637 GB, free: 58.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004894/1.352, allocations: 377.5 kB / 0.7641 GB, free: 57.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.352, allocations: 8 kB / 0.7641 GB, free: 57.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.352, allocations: 0 / 0.7641 GB, free: 57.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/1.353, allocations: 93.11 kB / 0.7642 GB, free: 57.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/1.353, allocations: 71.89 kB / 0.7643 GB, free: 57.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003758/1.353, allocations: 0.6499 MB / 0.7649 GB, free: 57.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/1.354, allocations: 23.95 kB / 0.7649 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/1.354, allocations: 20 kB / 0.765 GB, free: 56.98 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.0001333/1.354, allocations: 153.7 kB / 0.7651 GB, free: 56.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/1.354, allocations: 27.72 kB / 0.7651 GB, free: 56.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/1.354, allocations: 374.4 kB / 0.7655 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.354, allocations: 3.953 kB / 0.7655 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.354, allocations: 7.984 kB / 0.7655 GB, free: 56.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004537/1.355, allocations: 0.567 MB / 0.766 GB, free: 55.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/1.356, allocations: 0.7429 MB / 0.7668 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.356, allocations: 4.062 kB / 0.7668 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/1.356, allocations: 35.97 kB / 0.7668 GB, free: 54.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/1.356, allocations: 100.8 kB / 0.7669 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/1.356, allocations: 11.98 kB / 0.7669 GB, free: 54.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003411/1.357, allocations: 0.6381 MB / 0.7675 GB, free: 54.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.357, allocations: 4.031 kB / 0.7675 GB, free: 54.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/1.357, allocations: 0.4974 MB / 0.768 GB, free: 53.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/1.357, allocations: 108.8 kB / 0.7681 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/1.357, allocations: 4 kB / 0.7681 GB, free: 53.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/1.358, allocations: 19.84 kB / 0.7682 GB, free: 53.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/1.358, allocations: 19.91 kB / 0.7682 GB, free: 53.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/1.358, allocations: 15.98 kB / 0.7682 GB, free: 53.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001422/1.358, allocations: 202 kB / 0.7684 GB, free: 53.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.358, allocations: 0 / 0.7684 GB, free: 53.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006077/1.358, allocations: 159.9 kB / 0.7685 GB, free: 53.04 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.00102/1.36, allocations: 1.31 MB / 0.7698 GB, free: 51.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004215/1.36, allocations: 239.6 kB / 0.77 GB, free: 51.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.36, allocations: 0 / 0.77 GB, free: 51.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/1.36, allocations: 116.6 kB / 0.7702 GB, free: 51.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/1.361, allocations: 166 kB / 0.7703 GB, free: 51.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/1.363, allocations: 3.31 MB / 0.7735 GB, free: 47.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/1.363, allocations: 0.7728 MB / 0.7743 GB, free: 46.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002719/1.364, allocations: 63.28 kB / 0.7744 GB, free: 46.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/1.364, allocations: 99.39 kB / 0.7745 GB, free: 46.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/1.364, allocations: 0 / 0.7745 GB, free: 46.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/1.387, allocations: 10.63 MB / 0.7848 GB, free: 36.17 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.387, allocations: 235.2 kB / 0.7851 GB, free: 35.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.566, allocations: 0 / 0.7851 GB, free: 35.93 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat