Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00161/0.00161, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001154/0.001153, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.127e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 47.58 MB / 369.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.424/1.526, allocations: 367.1 MB / 0.719 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/1.526, allocations: 99.11 kB / 0.7191 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2583/1.785, allocations: 79.96 MB / 0.7972 GB, free: 61.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.785, allocations: 0 / 0.7972 GB, free: 61.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.877e-05/1.785, allocations: 8 kB / 0.7972 GB, free: 61.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.0012/1.786, allocations: 0.6008 MB / 0.7978 GB, free: 60.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.786, allocations: 8.031 kB / 0.7978 GB, free: 60.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/1.786, allocations: 54.55 kB / 0.7979 GB, free: 60.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/1.787, allocations: 43.7 kB / 0.7979 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/1.787, allocations: 274.5 kB / 0.7982 GB, free: 60.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/1.787, allocations: 24.5 kB / 0.7982 GB, free: 60.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/1.787, allocations: 24 kB / 0.7982 GB, free: 60.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/1.788, allocations: 291.8 kB / 0.7985 GB, free: 59.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/1.788, allocations: 7.938 kB / 0.7985 GB, free: 59.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/1.788, allocations: 8 kB / 0.7985 GB, free: 59.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.788, allocations: 8 kB / 0.7985 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/1.788, allocations: 189.6 kB / 0.7987 GB, free: 59.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/1.791, allocations: 1.436 MB / 0.8001 GB, free: 57.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/1.791, allocations: 167.3 kB / 0.8003 GB, free: 57.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/1.791, allocations: 93.17 kB / 0.8003 GB, free: 57.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/1.791, allocations: 8.172 kB / 0.8004 GB, free: 57.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.791, allocations: 38.69 kB / 0.8004 GB, free: 57.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.927e-06/1.791, allocations: 0 / 0.8004 GB, free: 57.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003557/1.795, allocations: 0.8622 MB / 0.8012 GB, free: 56.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.795, allocations: 59.34 kB / 0.8013 GB, free: 56.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/1.795, allocations: 222.9 kB / 0.8015 GB, free: 56.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/1.796, allocations: 33.7 kB / 0.8015 GB, free: 56.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/1.796, allocations: 238.4 kB / 0.8018 GB, free: 56.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/1.796, allocations: 94.64 kB / 0.8019 GB, free: 56.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/1.796, allocations: 8 kB / 0.8019 GB, free: 56.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/1.796, allocations: 326.8 kB / 0.8022 GB, free: 55.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/1.796, allocations: 83.98 kB / 0.8023 GB, free: 55.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/1.796, allocations: 174.9 kB / 0.8024 GB, free: 55.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/1.797, allocations: 108.7 kB / 0.8025 GB, free: 55.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/1.797, allocations: 0 / 0.8025 GB, free: 55.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001023/1.798, allocations: 370.8 kB / 0.8029 GB, free: 54.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.798, allocations: 8 kB / 0.8029 GB, free: 54.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.798, allocations: 4 kB / 0.8029 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/1.798, allocations: 65.61 kB / 0.8029 GB, free: 54.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/1.799, allocations: 63.91 kB / 0.803 GB, free: 54.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/1.801, allocations: 2.666 MB / 0.8056 GB, free: 51.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/1.802, allocations: 24 kB / 0.8056 GB, free: 51.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/1.802, allocations: 16 kB / 0.8057 GB, free: 51.82 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 0.0001401/1.802, allocations: 128.8 kB / 0.8058 GB, free: 51.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/1.802, allocations: 23.72 kB / 0.8058 GB, free: 51.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/1.802, allocations: 33.97 kB / 0.8058 GB, free: 51.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.802, allocations: 11.92 kB / 0.8058 GB, free: 51.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.802, allocations: 0 / 0.8058 GB, free: 51.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007698/1.803, allocations: 0.5631 MB / 0.8064 GB, free: 50.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.804, allocations: 0.695 MB / 0.8071 GB, free: 50.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.804, allocations: 0 / 0.8071 GB, free: 50.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/1.805, allocations: 39.98 kB / 0.8071 GB, free: 50.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003593/1.805, allocations: 56.81 kB / 0.8072 GB, free: 50.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/1.805, allocations: 7.938 kB / 0.8072 GB, free: 50.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/1.807, allocations: 1.386 MB / 0.8085 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.807, allocations: 4.031 kB / 0.8085 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.808, allocations: 475.8 kB / 0.809 GB, free: 48.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/1.808, allocations: 104.8 kB / 0.8091 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/1.808, allocations: 4 kB / 0.8091 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/1.808, allocations: 12 kB / 0.8091 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.808, allocations: 23.86 kB / 0.8091 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/1.808, allocations: 12.05 kB / 0.8091 GB, free: 47.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002449/1.809, allocations: 183.1 kB / 0.8093 GB, free: 47.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.513e-06/1.809, allocations: 0 / 0.8093 GB, free: 47.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006549/1.809, allocations: 103.9 kB / 0.8094 GB, free: 47.64 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.001452/1.811, allocations: 1.14 MB / 0.8105 GB, free: 46.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/1.812, allocations: 461.6 kB / 0.811 GB, free: 45.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.812, allocations: 4.188 kB / 0.811 GB, free: 45.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005303/1.812, allocations: 234.5 kB / 0.8112 GB, free: 45.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.814, allocations: 152.4 kB / 0.8113 GB, free: 45.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/1.816, allocations: 0.5791 MB / 0.8119 GB, free: 44.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/1.816, allocations: 0.7687 MB / 0.8126 GB, free: 44.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/1.816, allocations: 91.41 kB / 0.8127 GB, free: 44.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.816, allocations: 4 kB / 0.8127 GB, free: 44.08 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.89/4.706, allocations: 7.539 MB / 0.8201 GB, free: 36.54 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat