Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001531/0.001531, allocations: 181 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.101/2.101, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00114/0.001139, allocations: 94.64 kB / 267.5 MB, free: 14.04 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.2963/0.2963, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.447e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 58.86 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.569/9.694, allocations: 3.12 GB / 3.593 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/9.694, allocations: 95.7 kB / 3.593 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.993/14.69, allocations: 1.137 GB / 4.73 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/14.69, allocations: 0 / 4.73 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.123e-05/14.69, allocations: 20.12 kB / 4.73 GB, free: 3.176 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.006889/14.69, allocations: 1.583 MB / 4.732 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/14.69, allocations: 19.97 kB / 4.732 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/14.69, allocations: 90.52 kB / 4.732 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005036/14.7, allocations: 87.14 kB / 4.732 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/14.7, allocations: 0.5318 MB / 4.732 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/14.7, allocations: 100.4 kB / 4.733 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/14.7, allocations: 51.59 kB / 4.733 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4254/15.12, allocations: 0.8102 MB / 4.733 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/15.12, allocations: 2.719 kB / 4.733 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/15.12, allocations: 25.67 kB / 4.733 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/15.12, allocations: 40.05 kB / 4.733 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/15.12, allocations: 0.6212 MB / 4.734 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008038/15.13, allocations: 3.915 MB / 4.738 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/15.13, allocations: 396 kB / 4.738 GB, free: 71.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/15.13, allocations: 202.2 kB / 4.738 GB, free: 71.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/15.14, allocations: 0.499 MB / 4.739 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/15.14, allocations: 45.66 kB / 4.739 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.106e-06/15.14, allocations: 0 / 4.739 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004545/15.14, allocations: 1.333 MB / 4.74 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/15.14, allocations: 134.2 kB / 4.74 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/15.14, allocations: 0.493 MB / 4.741 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/15.14, allocations: 33.58 kB / 4.741 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/15.14, allocations: 387.7 kB / 4.741 GB, free: 69.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/15.14, allocations: 167.8 kB / 4.741 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/15.14, allocations: 17.28 kB / 4.741 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/15.14, allocations: 340.6 kB / 4.742 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/15.14, allocations: 213.2 kB / 4.742 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/15.14, allocations: 0.4976 MB / 4.742 GB, free: 69.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/15.14, allocations: 305.8 kB / 4.743 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/15.14, allocations: 3.344 kB / 4.743 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00254/15.15, allocations: 0.8765 MB / 4.744 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/15.15, allocations: 13.41 kB / 4.744 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/15.15, allocations: 10.72 kB / 4.744 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/15.15, allocations: 250.6 kB / 4.744 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/15.15, allocations: 130.8 kB / 4.744 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/15.15, allocations: 0.8563 MB / 4.745 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/15.15, allocations: 51.19 kB / 4.745 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/15.15, allocations: 38.48 kB / 4.745 GB, free: 68.43 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.000255/15.15, allocations: 151.7 kB / 4.745 GB, free: 68.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/15.15, allocations: 66.34 kB / 4.745 GB, free: 68.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/15.15, allocations: 0.6931 MB / 4.746 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/15.15, allocations: 8.625 kB / 4.746 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/15.15, allocations: 3.844 kB / 4.746 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/15.15, allocations: 2.578 kB / 4.746 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/15.16, allocations: 1.37 MB / 4.747 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/15.16, allocations: 5.938 kB / 4.747 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/15.16, allocations: 200 kB / 4.747 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/15.16, allocations: 56.77 kB / 4.747 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/15.16, allocations: 20.05 kB / 4.747 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/15.16, allocations: 2.777 MB / 4.75 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/15.16, allocations: 4.562 kB / 4.75 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/15.17, allocations: 1.043 MB / 4.751 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/15.17, allocations: 198.9 kB / 4.751 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/15.17, allocations: 13.22 kB / 4.751 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008538/15.17, allocations: 27.27 kB / 4.751 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/15.17, allocations: 50.66 kB / 4.751 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/15.17, allocations: 23.89 kB / 4.751 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008011/15.17, allocations: 387.2 kB / 4.752 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/15.17, allocations: 1.375 kB / 4.752 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001643/15.17, allocations: 240.8 kB / 4.752 GB, free: 64.64 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 () * 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.003869/15.18, allocations: 2.352 MB / 4.754 GB, free: 63.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002152/15.18, allocations: 0.5794 MB / 4.755 GB, free: 63.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/15.18, allocations: 1.031 kB / 4.755 GB, free: 63.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/15.18, allocations: 452.9 kB / 4.755 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/15.18, allocations: 322.5 kB / 4.756 GB, free: 63.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/15.19, allocations: 1.227 MB / 4.757 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/15.19, allocations: 0.9481 MB / 4.758 GB, free: 62.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006039/15.19, allocations: 240.5 kB / 4.758 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/15.19, allocations: 0 / 4.758 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.408/18.6, allocations: 18.71 MB / 4.776 GB, free: 61.76 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat