Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 176.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009729/0.0009728, allocations: 98.41 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4472/0.4472, allocations: 44.22 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4066, allocations: 61.9 MB / 0.5096 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.82/8.227, allocations: 3.127 GB / 3.636 GB, free: 49.39 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003792/8.227, allocations: 103.9 kB / 3.636 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.715/11.94, allocations: 1.142 GB / 4.779 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.913e-06/11.94, allocations: 3.281 kB / 4.779 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.137e-05/11.94, allocations: 18.92 kB / 4.779 GB, free: 72.51 MB / 0.5261 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.006817/11.95, allocations: 1.66 MB / 4.78 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/11.95, allocations: 12.16 kB / 4.78 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/11.95, allocations: 94.48 kB / 4.78 GB, free: 71.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/11.95, allocations: 89.95 kB / 4.78 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/11.95, allocations: 0.5468 MB / 4.781 GB, free: 71.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/11.95, allocations: 98.28 kB / 4.781 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/11.95, allocations: 53.23 kB / 4.781 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/11.95, allocations: 0.8103 MB / 4.782 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/11.95, allocations: 9.688 kB / 4.782 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/11.95, allocations: 25.2 kB / 4.782 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/11.95, allocations: 42 kB / 4.782 GB, free: 70.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009618/11.95, allocations: 0.6373 MB / 4.783 GB, free: 70.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/11.96, allocations: 3.926 MB / 4.786 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/11.96, allocations: 395.7 kB / 4.787 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/11.96, allocations: 0.4999 MB / 4.787 GB, free: 67.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/11.96, allocations: 39.58 kB / 4.787 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.916e-06/11.96, allocations: 0 / 4.787 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003016/11.96, allocations: 1.516 MB / 4.789 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/11.96, allocations: 134.8 kB / 4.789 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/11.96, allocations: 0.4985 MB / 4.789 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/11.96, allocations: 36.05 kB / 4.789 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/11.96, allocations: 351.1 kB / 4.79 GB, free: 67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/11.96, allocations: 161.8 kB / 4.79 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/11.96, allocations: 16.72 kB / 4.79 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001165/11.96, allocations: 374.2 kB / 4.79 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/11.96, allocations: 213.4 kB / 4.79 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/11.96, allocations: 0.5153 MB / 4.791 GB, free: 66.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/11.96, allocations: 309.5 kB / 4.791 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/11.96, allocations: 3.938 kB / 4.791 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00161/11.97, allocations: 0.9358 MB / 4.792 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/11.97, allocations: 11.77 kB / 4.792 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/11.97, allocations: 9.062 kB / 4.792 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/11.97, allocations: 270.2 kB / 4.792 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/11.97, allocations: 128 kB / 4.793 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008189/11.97, allocations: 0.8576 MB / 4.793 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/11.97, allocations: 42.98 kB / 4.793 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/11.97, allocations: 36.34 kB / 4.794 GB, free: 65.59 MB / 0.5261 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.000352/11.97, allocations: 251.3 kB / 4.794 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/11.97, allocations: 67.12 kB / 4.794 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/11.97, allocations: 0.6909 MB / 4.794 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/11.97, allocations: 10.31 kB / 4.795 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/11.97, allocations: 2.062 kB / 4.795 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/11.97, allocations: 3.797 kB / 4.795 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/11.97, allocations: 1.394 MB / 4.796 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/11.97, allocations: 0 / 4.796 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/11.97, allocations: 193.8 kB / 4.796 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/11.97, allocations: 59.69 kB / 4.796 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/11.97, allocations: 10.91 kB / 4.796 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/11.98, allocations: 2.817 MB / 4.799 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/11.98, allocations: 5.656 kB / 4.799 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/11.98, allocations: 1.055 MB / 4.8 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/11.98, allocations: 201.1 kB / 4.8 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/11.98, allocations: 19.58 kB / 4.8 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/11.98, allocations: 28.05 kB / 4.8 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/11.98, allocations: 42.41 kB / 4.8 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/11.98, allocations: 22.97 kB / 4.8 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004353/11.98, allocations: 393.1 kB / 4.801 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/11.98, allocations: 0 / 4.801 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00107/11.98, allocations: 239.3 kB / 4.801 GB, free: 61.4 MB / 0.5261 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.002229/11.98, allocations: 2.374 MB / 4.803 GB, free: 59.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001073/11.98, allocations: 0.5899 MB / 4.804 GB, free: 59.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/11.98, allocations: 3.938 kB / 4.804 GB, free: 59.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/11.98, allocations: 476.2 kB / 4.804 GB, free: 59.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/11.99, allocations: 328.3 kB / 4.804 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008298/11.99, allocations: 10.47 MB / 4.815 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/11.99, allocations: 0.9577 MB / 4.816 GB, free: 50.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008447/12, allocations: 195 kB / 4.816 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/12, allocations: 239 kB / 4.816 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/12, allocations: 5.25 kB / 4.816 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/12.04, allocations: 22.91 MB / 4.838 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/12.04, allocations: 287.6 kB / 4.839 GB, free: 48.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/14.66, allocations: 3.281 kB / 4.839 GB, free: 48.14 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat