Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001655/0.001656, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 82.64 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2359/0.2359, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.946e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.815/8.958, allocations: 3.119 GB / 3.585 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/8.958, allocations: 98.14 kB / 3.585 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.871/12.83, allocations: 1.125 GB / 4.71 GB, free: 83.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.433e-06/12.83, allocations: 0 / 4.71 GB, free: 83.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.264e-05/12.83, allocations: 14.34 kB / 4.71 GB, free: 83.86 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.00604/12.84, allocations: 1.583 MB / 4.712 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/12.84, allocations: 7.375 kB / 4.712 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/12.84, allocations: 89.22 kB / 4.712 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000916/12.84, allocations: 0.5406 MB / 4.712 GB, free: 82.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/12.84, allocations: 84.69 kB / 4.712 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/12.84, allocations: 26.97 kB / 4.712 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008085/12.84, allocations: 0.5482 MB / 4.713 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/12.84, allocations: 0.7365 MB / 4.714 GB, free: 82.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/12.84, allocations: 7.312 kB / 4.714 GB, free: 82.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/12.84, allocations: 6.891 kB / 4.714 GB, free: 82.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-05/12.84, allocations: 43.59 kB / 4.714 GB, free: 82.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004049/12.84, allocations: 3.977 MB / 4.718 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/12.84, allocations: 324.6 kB / 4.718 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/12.84, allocations: 159.1 kB / 4.718 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/12.84, allocations: 348.2 kB / 4.718 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/12.84, allocations: 36.94 kB / 4.718 GB, free: 79.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.905e-06/12.84, allocations: 0 / 4.718 GB, free: 79.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003072/12.85, allocations: 1.287 MB / 4.72 GB, free: 79.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/12.85, allocations: 135.4 kB / 4.72 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/12.85, allocations: 446.8 kB / 4.72 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/12.85, allocations: 29.17 kB / 4.72 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/12.85, allocations: 378.8 kB / 4.721 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/12.85, allocations: 141.7 kB / 4.721 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/12.85, allocations: 0 / 4.721 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001233/12.85, allocations: 370.3 kB / 4.721 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/12.85, allocations: 198.2 kB / 4.721 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/12.85, allocations: 493 kB / 4.722 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/12.85, allocations: 321.6 kB / 4.722 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/12.85, allocations: 7.281 kB / 4.722 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001815/12.85, allocations: 0.8915 MB / 4.723 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/12.85, allocations: 8.406 kB / 4.723 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/12.85, allocations: 10.53 kB / 4.723 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008096/12.85, allocations: 227 kB / 4.723 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/12.85, allocations: 121.7 kB / 4.723 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007614/12.85, allocations: 0.8758 MB / 4.724 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/12.85, allocations: 31.05 kB / 4.724 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/12.85, allocations: 34.2 kB / 4.724 GB, free: 77.15 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 () * 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.0001486/12.85, allocations: 145.5 kB / 4.724 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000933/12.86, allocations: 484.2 kB / 4.725 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/12.86, allocations: 64.55 kB / 4.725 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/12.86, allocations: 0.5842 MB / 4.726 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/12.86, allocations: 3.719 kB / 4.726 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/12.86, allocations: 4.969 kB / 4.726 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/12.86, allocations: 3.469 kB / 4.726 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/12.86, allocations: 1.489 MB / 4.727 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/12.86, allocations: 0 / 4.727 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/12.86, allocations: 186 kB / 4.727 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/12.86, allocations: 55.23 kB / 4.727 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/12.86, allocations: 21 kB / 4.727 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/12.86, allocations: 2.672 MB / 4.73 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/12.86, allocations: 7.625 kB / 4.73 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/12.86, allocations: 0.9623 MB / 4.731 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/12.86, allocations: 194.8 kB / 4.731 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/12.86, allocations: 3.656 kB / 4.731 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/12.86, allocations: 14.75 kB / 4.731 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/12.86, allocations: 38.25 kB / 4.731 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/12.86, allocations: 23.03 kB / 4.731 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003595/12.86, allocations: 323.4 kB / 4.731 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/12.86, allocations: 0 / 4.731 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001061/12.87, allocations: 218.9 kB / 4.732 GB, free: 73.22 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (43): * Single equations (assignments): 39 * 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.0022/12.87, allocations: 2.217 MB / 4.734 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00098/12.87, allocations: 0.5311 MB / 4.734 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/12.87, allocations: 0 / 4.734 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009438/12.87, allocations: 427.8 kB / 4.735 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/12.87, allocations: 279.6 kB / 4.735 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/12.87, allocations: 1.092 MB / 4.736 GB, free: 71.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/12.87, allocations: 0.9519 MB / 4.737 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006825/12.87, allocations: 192.3 kB / 4.737 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/12.87, allocations: 232 kB / 4.737 GB, free: 70.78 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/12.87, allocations: 1.312 kB / 4.737 GB, free: 70.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04652/12.92, allocations: 18.75 MB / 4.756 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/12.92, allocations: 212.6 kB / 4.756 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/15.53, allocations: 0 / 4.756 GB, free: 69.96 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat