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.002154/0.002154, allocations: 185.9 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.977/1.977, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001161/0.001161, allocations: 84.44 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005232, allocations: 8 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3465, allocations: 47.56 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.414, allocations: 367.2 MB / 0.7244 GB, free: 81.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/1.415, allocations: 102.5 kB / 0.7245 GB, free: 81.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2509/1.666, allocations: 80.36 MB / 0.803 GB, free: 7.879 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.666, allocations: 0 / 0.803 GB, free: 7.879 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.35e-05/1.666, allocations: 4 kB / 0.803 GB, free: 7.875 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.001286/1.667, allocations: 0.6284 MB / 0.8036 GB, free: 7.199 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.667, allocations: 8.031 kB / 0.8036 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/1.667, allocations: 62.53 kB / 0.8037 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/1.668, allocations: 47.55 kB / 0.8037 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/1.668, allocations: 282.8 kB / 0.804 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/1.668, allocations: 16.56 kB / 0.804 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/1.668, allocations: 24 kB / 0.804 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/1.669, allocations: 299.7 kB / 0.8043 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/1.669, allocations: 0 / 0.8043 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/1.669, allocations: 15.98 kB / 0.8043 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.669, allocations: 8 kB / 0.8044 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/1.669, allocations: 189.6 kB / 0.8045 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/1.672, allocations: 1.432 MB / 0.8059 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/1.672, allocations: 179.1 kB / 0.8061 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/1.672, allocations: 8.172 kB / 0.8061 GB, free: 4.445 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.672, allocations: 42.73 kB / 0.8062 GB, free: 4.395 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.056e-06/1.672, allocations: 0 / 0.8062 GB, free: 4.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003788/1.676, allocations: 0.9969 MB / 0.8071 GB, free: 3.324 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/1.676, allocations: 55.41 kB / 0.8072 GB, free: 3.258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/1.676, allocations: 233.6 kB / 0.8074 GB, free: 3.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/1.676, allocations: 29.7 kB / 0.8074 GB, free: 2.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/1.677, allocations: 238.6 kB / 0.8077 GB, free: 2.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/1.677, allocations: 94.64 kB / 0.8077 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/1.677, allocations: 8 kB / 0.8078 GB, free: 2.648 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.037e-05/1.677, allocations: 330.8 kB / 0.8081 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/1.677, allocations: 83.97 kB / 0.8081 GB, free: 2.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/1.677, allocations: 170.9 kB / 0.8083 GB, free: 2.027 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/1.678, allocations: 119.9 kB / 0.8084 GB, free: 1.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.678, allocations: 0 / 0.8084 GB, free: 1.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001048/1.679, allocations: 363.9 kB / 0.8088 GB, free: 1.543 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.679, allocations: 8 kB / 0.8088 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.679, allocations: 0 / 0.8088 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/1.679, allocations: 69.62 kB / 0.8088 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/1.68, allocations: 67.91 kB / 0.8089 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2848/1.964, allocations: 2.696 MB / 0.8115 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/1.965, allocations: 20.44 kB / 0.8116 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/1.965, allocations: 8.375 kB / 0.8116 GB, free: 124.7 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.0002461/1.965, allocations: 161 kB / 0.8117 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/1.965, allocations: 26.33 kB / 0.8118 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/1.966, allocations: 37.94 kB / 0.8118 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/1.966, allocations: 3.844 kB / 0.8118 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.966, allocations: 0 / 0.8118 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009398/1.967, allocations: 0.5618 MB / 0.8123 GB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.968, allocations: 0.7056 MB / 0.813 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.968, allocations: 4.875 kB / 0.813 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/1.969, allocations: 41.27 kB / 0.8131 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/1.969, allocations: 66.73 kB / 0.8131 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/1.969, allocations: 9.625 kB / 0.8131 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/1.971, allocations: 1.392 MB / 0.8145 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.971, allocations: 1.25 kB / 0.8145 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/1.972, allocations: 484.7 kB / 0.815 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/1.972, allocations: 101.2 kB / 0.8151 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.222e-05/1.973, allocations: 10.08 kB / 0.8151 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/1.973, allocations: 16.42 kB / 0.8151 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/1.973, allocations: 20 kB / 0.8151 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/1.973, allocations: 14.3 kB / 0.8151 GB, free: 122.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003132/1.973, allocations: 182.2 kB / 0.8153 GB, free: 122.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.973, allocations: 0 / 0.8153 GB, free: 122.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007207/1.974, allocations: 101.8 kB / 0.8154 GB, free: 122.3 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.001646/1.976, allocations: 1.143 MB / 0.8165 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/1.977, allocations: 481.9 kB / 0.817 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.977, allocations: 0 / 0.817 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/1.978, allocations: 235.2 kB / 0.8172 GB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/1.979, allocations: 156.3 kB / 0.8173 GB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/1.984, allocations: 3.696 MB / 0.821 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.984, allocations: 0.7756 MB / 0.8217 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.985, allocations: 87.72 kB / 0.8218 GB, free: 117.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/1.985, allocations: 0 / 0.8218 GB, free: 117.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.758/4.743, allocations: 7.573 MB / 0.8292 GB, free: 117.8 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