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.001447/0.001447, allocations: 169.1 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 92.39 kB / 281.6 MB, free: 5.336 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.2138/0.2138, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.689e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1457, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.972/8.118, allocations: 3.126 GB / 3.621 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/8.118, allocations: 93.22 kB / 3.621 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.717/11.83, allocations: 1.129 GB / 4.75 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.293e-06/11.83, allocations: 3.938 kB / 4.75 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.036e-05/11.83, allocations: 18.28 kB / 4.75 GB, free: 97.65 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.006009/11.84, allocations: 1.575 MB / 4.751 GB, free: 96.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/11.84, allocations: 11.05 kB / 4.751 GB, free: 96.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/11.84, allocations: 93.69 kB / 4.751 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009312/11.84, allocations: 0.5427 MB / 4.752 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/11.84, allocations: 86.8 kB / 4.752 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/11.84, allocations: 26.59 kB / 4.752 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007889/11.84, allocations: 0.5506 MB / 4.753 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/11.84, allocations: 0.7347 MB / 4.753 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/11.84, allocations: 3.938 kB / 4.753 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/11.84, allocations: 7.547 kB / 4.753 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/11.84, allocations: 37.89 kB / 4.753 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/11.85, allocations: 3.97 MB / 4.757 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/11.85, allocations: 313.2 kB / 4.757 GB, free: 92.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/11.85, allocations: 170.6 kB / 4.758 GB, free: 92.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/11.85, allocations: 342 kB / 4.758 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/11.85, allocations: 38.81 kB / 4.758 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.185e-06/11.85, allocations: 0 / 4.758 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002782/11.85, allocations: 1.276 MB / 4.759 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/11.85, allocations: 136.2 kB / 4.759 GB, free: 91.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/11.85, allocations: 451.6 kB / 4.76 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/11.85, allocations: 25.7 kB / 4.76 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/11.85, allocations: 386.4 kB / 4.76 GB, free: 90.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/11.85, allocations: 135.6 kB / 4.76 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/11.85, allocations: 0 / 4.76 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/11.85, allocations: 369.4 kB / 4.761 GB, free: 90.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/11.85, allocations: 198.9 kB / 4.761 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/11.85, allocations: 493.2 kB / 4.761 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/11.85, allocations: 329 kB / 4.762 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/11.85, allocations: 7.812 kB / 4.762 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001638/11.86, allocations: 0.8865 MB / 4.763 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/11.86, allocations: 7.406 kB / 4.763 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/11.86, allocations: 13.19 kB / 4.763 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/11.86, allocations: 234 kB / 4.763 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/11.86, allocations: 127.4 kB / 4.763 GB, free: 89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007097/11.86, allocations: 0.8757 MB / 4.764 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/11.86, allocations: 28.83 kB / 4.764 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/11.86, allocations: 33.19 kB / 4.764 GB, free: 88.33 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 () * 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.0001287/11.86, allocations: 136 kB / 4.764 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008868/11.86, allocations: 498.5 kB / 4.764 GB, free: 87.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/11.86, allocations: 60.31 kB / 4.764 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/11.86, allocations: 0.5804 MB / 4.765 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/11.86, allocations: 6.953 kB / 4.765 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/11.86, allocations: 3.969 kB / 4.765 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/11.86, allocations: 3.75 kB / 4.765 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/11.86, allocations: 1.477 MB / 4.767 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/11.86, allocations: 192 / 4.767 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/11.86, allocations: 188.8 kB / 4.767 GB, free: 86.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/11.86, allocations: 63.36 kB / 4.767 GB, free: 86.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/11.86, allocations: 11.5 kB / 4.767 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/11.87, allocations: 2.673 MB / 4.769 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/11.87, allocations: 7.875 kB / 4.769 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/11.87, allocations: 0.9598 MB / 4.77 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/11.87, allocations: 197.4 kB / 4.771 GB, free: 82.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/11.87, allocations: 7.938 kB / 4.771 GB, free: 82.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/11.87, allocations: 23.77 kB / 4.771 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/11.87, allocations: 30.92 kB / 4.771 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/11.87, allocations: 19.8 kB / 4.771 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002769/11.87, allocations: 324.5 kB / 4.771 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/11.87, allocations: 2.516 kB / 4.771 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008534/11.87, allocations: 227.2 kB / 4.771 GB, free: 82.39 MB / 0.5261 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.001844/11.87, allocations: 2.228 MB / 4.773 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008165/11.87, allocations: 0.5231 MB / 4.774 GB, free: 79.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/11.87, allocations: 0 / 4.774 GB, free: 79.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008657/11.87, allocations: 431.2 kB / 4.774 GB, free: 79.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/11.87, allocations: 277.7 kB / 4.774 GB, free: 79.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/11.87, allocations: 1.095 MB / 4.776 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/11.88, allocations: 0.9491 MB / 4.776 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006106/11.88, allocations: 186 kB / 4.777 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/11.88, allocations: 228.5 kB / 4.777 GB, free: 77.03 MB / 0.5261 GB Notification: Performance of SimCode: time 3.61e-07/11.88, allocations: 1.688 kB / 4.777 GB, free: 77.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/11.91, allocations: 18.76 MB / 4.795 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/11.91, allocations: 203.5 kB / 4.795 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/14.41, allocations: 0 / 4.795 GB, free: 65.88 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