Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001133/0.001133, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.577/1.577, allocations: 205.4 MB / 223.1 MB, free: 9.023 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.0009145/0.0009145, allocations: 95.91 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 4 kB / 328.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2681, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.732/7, allocations: 3.068 GB / 3.435 GB, free: 44.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/7.001, allocations: 102.1 kB / 3.436 GB, free: 44.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.764/9.764, allocations: 0.9795 GB / 4.415 GB, free: 30.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.727e-06/9.764, allocations: 4 kB / 4.415 GB, free: 30.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/9.764, allocations: 4 kB / 4.415 GB, free: 30.15 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.0047/9.769, allocations: 1.233 MB / 4.416 GB, free: 29.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/9.769, allocations: 12.03 kB / 4.416 GB, free: 29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/9.769, allocations: 61.55 kB / 4.416 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/9.77, allocations: 40.28 kB / 4.416 GB, free: 28.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/9.77, allocations: 268.3 kB / 4.417 GB, free: 28.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/9.77, allocations: 20.56 kB / 4.417 GB, free: 28.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/9.77, allocations: 28 kB / 4.417 GB, free: 28.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/9.771, allocations: 295.3 kB / 4.417 GB, free: 28.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/9.771, allocations: 4 kB / 4.417 GB, free: 28.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/9.771, allocations: 8 kB / 4.417 GB, free: 28.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/9.771, allocations: 8 kB / 4.417 GB, free: 28.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/9.771, allocations: 203.2 kB / 4.417 GB, free: 28.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/9.773, allocations: 1.437 MB / 4.419 GB, free: 26.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/9.773, allocations: 176.5 kB / 4.419 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/9.773, allocations: 4.188 kB / 4.419 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/9.773, allocations: 38.69 kB / 4.419 GB, free: 26.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/9.773, allocations: 0 / 4.419 GB, free: 26.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002325/9.775, allocations: 1.012 MB / 4.42 GB, free: 25.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/9.775, allocations: 59.12 kB / 4.42 GB, free: 25.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/9.776, allocations: 231.4 kB / 4.42 GB, free: 25.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/9.776, allocations: 29.7 kB / 4.42 GB, free: 25.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/9.776, allocations: 178.9 kB / 4.42 GB, free: 24.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/9.776, allocations: 95.95 kB / 4.42 GB, free: 24.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/9.776, allocations: 8 kB / 4.42 GB, free: 24.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.426e-05/9.776, allocations: 336.6 kB / 4.421 GB, free: 24.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/9.776, allocations: 79.55 kB / 4.421 GB, free: 24.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/9.776, allocations: 180.8 kB / 4.421 GB, free: 24.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/9.776, allocations: 115.7 kB / 4.421 GB, free: 24.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/9.776, allocations: 0 / 4.421 GB, free: 24.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005934/9.777, allocations: 385.2 kB / 4.421 GB, free: 23.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/9.777, allocations: 7.891 kB / 4.421 GB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/9.777, allocations: 4 kB / 4.421 GB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/9.777, allocations: 65.42 kB / 4.421 GB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/9.777, allocations: 67.48 kB / 4.421 GB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/9.779, allocations: 2.686 MB / 4.424 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/9.779, allocations: 29.88 kB / 4.424 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/9.779, allocations: 11.7 kB / 4.424 GB, free: 20.79 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.0001542/9.78, allocations: 153.7 kB / 4.424 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/9.78, allocations: 31.62 kB / 4.424 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/9.78, allocations: 33.61 kB / 4.424 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/9.78, allocations: 8 kB / 4.424 GB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/9.78, allocations: 0 / 4.424 GB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005063/9.78, allocations: 0.5602 MB / 4.425 GB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009203/9.781, allocations: 0.6974 MB / 4.426 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/9.781, allocations: 11.92 kB / 4.426 GB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/9.781, allocations: 46.33 kB / 4.426 GB, free: 19.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/9.782, allocations: 55.38 kB / 4.426 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/9.782, allocations: 11.66 kB / 4.426 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009023/9.783, allocations: 1.395 MB / 4.427 GB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/9.783, allocations: 0 / 4.427 GB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/9.783, allocations: 485 kB / 4.428 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/9.783, allocations: 96.86 kB / 4.428 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/9.783, allocations: 8 kB / 4.428 GB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/9.784, allocations: 18.36 kB / 4.428 GB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/9.784, allocations: 16.77 kB / 4.428 GB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/9.784, allocations: 19.89 kB / 4.428 GB, free: 17.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001652/9.784, allocations: 182.4 kB / 4.428 GB, free: 16.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.292e-06/9.784, allocations: 3.938 kB / 4.428 GB, free: 16.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007002/9.785, allocations: 127.9 kB / 4.428 GB, free: 16.77 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.00132/9.786, allocations: 1.273 MB / 4.429 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006747/9.787, allocations: 473.4 kB / 4.43 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/9.787, allocations: 0 / 4.43 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/9.787, allocations: 228.9 kB / 4.43 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/9.788, allocations: 154.6 kB / 4.43 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/9.791, allocations: 3.677 MB / 4.434 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/9.791, allocations: 0.7787 MB / 4.434 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003038/9.791, allocations: 55.39 kB / 4.434 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/9.791, allocations: 82.84 kB / 4.435 GB, free: 10.3 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/9.791, allocations: 4 kB / 4.435 GB, free: 10.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/9.819, allocations: 11.52 MB / 4.446 GB, free: 1.426 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/9.819, allocations: 249.5 kB / 4.446 GB, free: 1.172 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/11.99, allocations: 0 / 4.446 GB, free: 1.172 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat