Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_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.001231/0.001231, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.651/1.651, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001009/0.001009, allocations: 82.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 58.85 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.275, allocations: 420.4 MB / 0.8894 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004375/1.275, allocations: 99.06 kB / 0.8895 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5748/1.85, allocations: 119.7 MB / 1.006 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.236e-06/1.85, allocations: 3.984 kB / 1.006 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.226e-05/1.85, allocations: 24.09 kB / 1.006 GB, free: 119.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003405/1.853, allocations: 1.058 MB / 1.008 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/1.854, allocations: 16.02 kB / 1.008 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003689/1.854, allocations: 94.52 kB / 1.008 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/1.855, allocations: 91.09 kB / 1.008 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/1.856, allocations: 0.5365 MB / 1.008 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/1.856, allocations: 100.4 kB / 1.008 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/1.856, allocations: 51.98 kB / 1.008 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/1.858, allocations: 0.821 MB / 1.009 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.858, allocations: 3.938 kB / 1.009 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.259e-05/1.858, allocations: 24 kB / 1.009 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/1.858, allocations: 40.97 kB / 1.009 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/1.859, allocations: 0.64 MB / 1.01 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004569/1.864, allocations: 3.929 MB / 1.014 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/1.865, allocations: 401.3 kB / 1.014 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/1.865, allocations: 0.4989 MB / 1.015 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/1.865, allocations: 38.89 kB / 1.015 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.036e-06/1.865, allocations: 4 kB / 1.015 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.003057/1.868, allocations: 1.507 MB / 1.016 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.868, allocations: 132.5 kB / 1.016 GB, free: 109 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/1.869, allocations: 0.5021 MB / 1.017 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/1.869, allocations: 33.7 kB / 1.017 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/1.869, allocations: 358.9 kB / 1.017 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.869, allocations: 153.8 kB / 1.017 GB, free: 108 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/1.869, allocations: 16 kB / 1.017 GB, free: 108 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.869, allocations: 382.8 kB / 1.018 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/1.87, allocations: 217.9 kB / 1.018 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/1.87, allocations: 0.5084 MB / 1.018 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/1.87, allocations: 319.8 kB / 1.019 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.871, allocations: 4 kB / 1.019 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001543/1.872, allocations: 0.9211 MB / 1.02 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.872, allocations: 13 kB / 1.02 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.872, allocations: 8 kB / 1.02 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/1.873, allocations: 268.6 kB / 1.02 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/1.874, allocations: 119.8 kB / 1.02 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007792/1.874, allocations: 0.8667 MB / 1.021 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/1.875, allocations: 51.97 kB / 1.021 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/1.875, allocations: 32 kB / 1.021 GB, free: 104.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000319/1.875, allocations: 245.5 kB / 1.021 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/1.876, allocations: 71.16 kB / 1.021 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/1.877, allocations: 0.6962 MB / 1.022 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.877, allocations: 8 kB / 1.022 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.877, allocations: 11.95 kB / 1.022 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.877, allocations: 3.984 kB / 1.022 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/1.879, allocations: 1.379 MB / 1.023 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.879, allocations: 4 kB / 1.023 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009078/1.88, allocations: 187.7 kB / 1.023 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/1.88, allocations: 72.94 kB / 1.023 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/1.88, allocations: 11.98 kB / 1.023 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/1.882, allocations: 2.797 MB / 1.026 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.882, allocations: 7.984 kB / 1.026 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/1.883, allocations: 1.058 MB / 1.027 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/1.884, allocations: 200.2 kB / 1.027 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.884, allocations: 16 kB / 1.027 GB, free: 96.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/1.884, allocations: 35.97 kB / 1.027 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/1.884, allocations: 35.89 kB / 1.028 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/1.884, allocations: 23.98 kB / 1.028 GB, free: 96.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004333/1.885, allocations: 390.8 kB / 1.028 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/1.885, allocations: 0 / 1.028 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001214/1.886, allocations: 231.9 kB / 1.028 GB, free: 96.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002361/1.888, allocations: 2.243 MB / 1.03 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001095/1.89, allocations: 0.5928 MB / 1.031 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.89, allocations: 0 / 1.031 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/1.891, allocations: 474.6 kB / 1.031 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.892, allocations: 323.4 kB / 1.032 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007644/1.9, allocations: 10.48 MB / 1.042 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/1.9, allocations: 0.9503 MB / 1.043 GB, free: 80.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008258/1.901, allocations: 193.8 kB / 1.043 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/1.901, allocations: 243.3 kB / 1.043 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of SimCode: time 6.903e-06/1.901, allocations: 0 / 1.043 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04313/1.944, allocations: 20.34 MB / 1.063 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.945, allocations: 293.4 kB / 1.063 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/4.626, allocations: 0 / 1.063 GB, free: 59.62 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat