Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",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.001033/0.001033, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.49/1.49, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008808/0.000881, allocations: 86.59 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.349e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.157, allocations: 367.1 MB / 0.7199 GB, free: 151.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.157, allocations: 101 kB / 0.72 GB, free: 151.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1312/1.288, allocations: 79.96 MB / 0.7981 GB, free: 71.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.288, allocations: 0 / 0.7981 GB, free: 71.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/1.288, allocations: 4 kB / 0.7981 GB, free: 71.33 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.0008577/1.289, allocations: 0.6086 MB / 0.7987 GB, free: 70.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.289, allocations: 8.031 kB / 0.7987 GB, free: 70.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/1.289, allocations: 66.53 kB / 0.7988 GB, free: 70.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/1.289, allocations: 35.72 kB / 0.7988 GB, free: 70.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/1.29, allocations: 282.4 kB / 0.7991 GB, free: 70.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/1.29, allocations: 16.56 kB / 0.7991 GB, free: 70.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/1.29, allocations: 24 kB / 0.7991 GB, free: 70.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/1.29, allocations: 295.7 kB / 0.7994 GB, free: 69.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.29, allocations: 0 / 0.7994 GB, free: 69.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/1.29, allocations: 12 kB / 0.7994 GB, free: 69.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.29, allocations: 8 kB / 0.7994 GB, free: 69.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/1.291, allocations: 197.6 kB / 0.7996 GB, free: 69.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/1.292, allocations: 1.432 MB / 0.801 GB, free: 68.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/1.292, allocations: 171.2 kB / 0.8012 GB, free: 67.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/1.292, allocations: 93.12 kB / 0.8013 GB, free: 67.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.292, allocations: 8.172 kB / 0.8013 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/1.292, allocations: 34.75 kB / 0.8013 GB, free: 67.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/1.292, allocations: 0 / 0.8013 GB, free: 67.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001998/1.294, allocations: 0.8622 MB / 0.8021 GB, free: 66.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.294, allocations: 55.41 kB / 0.8022 GB, free: 66.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/1.295, allocations: 230.9 kB / 0.8024 GB, free: 66.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.295, allocations: 29.7 kB / 0.8024 GB, free: 66.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/1.295, allocations: 179.9 kB / 0.8026 GB, free: 66.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/1.295, allocations: 98.64 kB / 0.8027 GB, free: 66.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/1.295, allocations: 11.94 kB / 0.8027 GB, free: 66.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/1.295, allocations: 338.8 kB / 0.803 GB, free: 65.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/1.295, allocations: 76 kB / 0.8031 GB, free: 65.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/1.295, allocations: 174.9 kB / 0.8033 GB, free: 65.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/1.295, allocations: 112.7 kB / 0.8034 GB, free: 65.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.295, allocations: 0 / 0.8034 GB, free: 65.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005483/1.296, allocations: 378.8 kB / 0.8038 GB, free: 65.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.296, allocations: 8 kB / 0.8038 GB, free: 65.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.296, allocations: 4 kB / 0.8038 GB, free: 65.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/1.296, allocations: 57.67 kB / 0.8038 GB, free: 65.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/1.296, allocations: 71.84 kB / 0.8039 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/1.298, allocations: 2.662 MB / 0.8065 GB, free: 62.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/1.298, allocations: 28.05 kB / 0.8065 GB, free: 62.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/1.298, allocations: 11.94 kB / 0.8065 GB, free: 62.02 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 () * 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 8.181e-05/1.298, allocations: 132.8 kB / 0.8067 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/1.298, allocations: 27.62 kB / 0.8067 GB, free: 61.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/1.298, allocations: 37.95 kB / 0.8067 GB, free: 61.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.298, allocations: 0 / 0.8067 GB, free: 61.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.298, allocations: 4 kB / 0.8067 GB, free: 61.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004501/1.299, allocations: 0.5631 MB / 0.8073 GB, free: 61.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007922/1.3, allocations: 0.6873 MB / 0.8079 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.3, allocations: 4 kB / 0.8079 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.3, allocations: 43.91 kB / 0.808 GB, free: 60.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/1.3, allocations: 52.83 kB / 0.808 GB, free: 60.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.3, allocations: 8 kB / 0.808 GB, free: 60.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007554/1.301, allocations: 1.386 MB / 0.8094 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.301, allocations: 3.984 kB / 0.8094 GB, free: 58.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/1.301, allocations: 483.9 kB / 0.8099 GB, free: 58.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/1.302, allocations: 92.86 kB / 0.81 GB, free: 58.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/1.302, allocations: 8 kB / 0.81 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/1.302, allocations: 19.89 kB / 0.81 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/1.302, allocations: 23.92 kB / 0.81 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/1.302, allocations: 7.938 kB / 0.81 GB, free: 58.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001304/1.302, allocations: 187.2 kB / 0.8102 GB, free: 57.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.302, allocations: 3.938 kB / 0.8102 GB, free: 57.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004095/1.302, allocations: 104 kB / 0.8103 GB, free: 57.83 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 () * 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.0008402/1.303, allocations: 1.131 MB / 0.8114 GB, free: 56.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005938/1.304, allocations: 465.7 kB / 0.8118 GB, free: 56.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.304, allocations: 4 kB / 0.8118 GB, free: 56.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/1.304, allocations: 230.6 kB / 0.8121 GB, free: 55.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/1.305, allocations: 156.4 kB / 0.8122 GB, free: 55.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/1.306, allocations: 0.55 MB / 0.8128 GB, free: 55.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/1.306, allocations: 0.7687 MB / 0.8135 GB, free: 54.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002471/1.306, allocations: 54.94 kB / 0.8136 GB, free: 54.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/1.306, allocations: 87.41 kB / 0.8136 GB, free: 54.26 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/1.306, allocations: 0 / 0.8136 GB, free: 54.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/1.331, allocations: 8.925 MB / 0.8224 GB, free: 45.32 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.331, allocations: 211 kB / 0.8226 GB, free: 45.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/3.324, allocations: 3.938 kB / 0.8226 GB, free: 45.09 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat