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.001501/0.001501, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.756/1.756, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009026/0.0009025, allocations: 93.84 kB / 267.1 MB, free: 9.285 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.487/0.487, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.677e-05/4.716e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1588, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.405/8.564, allocations: 3.12 GB / 3.593 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/8.564, allocations: 93.89 kB / 3.593 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.694/12.26, allocations: 1.137 GB / 4.73 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/12.26, allocations: 0 / 4.73 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.205e-05/12.26, allocations: 19.67 kB / 4.73 GB, free: 62.66 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.00689/12.27, allocations: 1.58 MB / 4.732 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/12.27, allocations: 11.97 kB / 4.732 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003266/12.27, allocations: 93.3 kB / 4.732 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/12.27, allocations: 90.72 kB / 4.732 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/12.27, allocations: 0.5367 MB / 4.732 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/12.27, allocations: 105.1 kB / 4.733 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/12.27, allocations: 51.91 kB / 4.733 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/12.27, allocations: 0.804 MB / 4.733 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/12.27, allocations: 3.938 kB / 4.733 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/12.27, allocations: 33.78 kB / 4.733 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.354e-05/12.27, allocations: 40.5 kB / 4.733 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/12.27, allocations: 0.6153 MB / 4.734 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004334/12.27, allocations: 3.929 MB / 4.738 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/12.28, allocations: 390.4 kB / 4.738 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/12.28, allocations: 200.7 kB / 4.738 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004165/12.28, allocations: 0.4997 MB / 4.739 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/12.28, allocations: 38.89 kB / 4.739 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.446e-06/12.28, allocations: 4 kB / 4.739 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.002862/12.28, allocations: 1.332 MB / 4.74 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/12.28, allocations: 140.5 kB / 4.74 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/12.28, allocations: 0.4885 MB / 4.741 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/12.28, allocations: 33.7 kB / 4.741 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/12.28, allocations: 353.7 kB / 4.741 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/12.28, allocations: 170.1 kB / 4.741 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/12.28, allocations: 16 kB / 4.741 GB, free: 51.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001014/12.28, allocations: 377 kB / 4.742 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/12.28, allocations: 209.5 kB / 4.742 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/12.28, allocations: 0.5013 MB / 4.742 GB, free: 50.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/12.28, allocations: 310.6 kB / 4.743 GB, free: 50.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/12.28, allocations: 7.938 kB / 4.743 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001529/12.28, allocations: 0.9174 MB / 4.744 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/12.28, allocations: 9.094 kB / 4.744 GB, free: 49.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/12.28, allocations: 8 kB / 4.744 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009978/12.28, allocations: 256.8 kB / 4.744 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/12.28, allocations: 123.8 kB / 4.744 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000761/12.29, allocations: 0.864 MB / 4.745 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/12.29, allocations: 35.56 kB / 4.745 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/12.29, allocations: 39.56 kB / 4.745 GB, free: 48.21 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.0001561/12.29, allocations: 156.7 kB / 4.745 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/12.29, allocations: 71.16 kB / 4.745 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/12.29, allocations: 0.6926 MB / 4.746 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/12.29, allocations: 6.906 kB / 4.746 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/12.29, allocations: 10.44 kB / 4.746 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/12.29, allocations: 0 / 4.746 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/12.29, allocations: 1.371 MB / 4.747 GB, free: 46.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/12.29, allocations: 4 kB / 4.747 GB, free: 46.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009115/12.29, allocations: 188.9 kB / 4.747 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/12.29, allocations: 57.25 kB / 4.747 GB, free: 45.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/12.29, allocations: 19.61 kB / 4.747 GB, free: 45.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/12.29, allocations: 2.781 MB / 4.75 GB, free: 43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/12.29, allocations: 7.531 kB / 4.75 GB, free: 43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/12.29, allocations: 1.049 MB / 4.751 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/12.29, allocations: 201.6 kB / 4.751 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/12.29, allocations: 12 kB / 4.751 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/12.29, allocations: 23.94 kB / 4.751 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/12.29, allocations: 47.28 kB / 4.752 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/12.29, allocations: 16 kB / 4.752 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004843/12.3, allocations: 390.7 kB / 4.752 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.3e-07/12.3, allocations: 0 / 4.752 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001111/12.3, allocations: 243.9 kB / 4.752 GB, free: 41.1 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.002317/12.3, allocations: 2.358 MB / 4.754 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001093/12.3, allocations: 0.571 MB / 4.755 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/12.3, allocations: 1.438 kB / 4.755 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000996/12.3, allocations: 473.5 kB / 4.755 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/12.3, allocations: 317.9 kB / 4.756 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/12.31, allocations: 1.185 MB / 4.757 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/12.31, allocations: 0.9551 MB / 4.758 GB, free: 35.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008187/12.31, allocations: 207.4 kB / 4.758 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/12.31, allocations: 233.3 kB / 4.758 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/12.31, allocations: 0 / 4.758 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/12.35, allocations: 23.35 MB / 4.781 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/12.35, allocations: 257.6 kB / 4.781 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/15.19, allocations: 3.953 kB / 4.781 GB, free: 15.2 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