Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001652/0.001652, allocations: 177 kB / 17.06 MB, free: 5.094 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.57/1.57, allocations: 223.2 MB / 241 MB, free: 11.88 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.001016/0.001016, allocations: 96.08 kB / 292.1 MB, free: 10.9 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.3886/0.3886, allocations: 44.21 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003611, allocations: 12 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4161, allocations: 61.9 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7111/1.127, allocations: 353.8 MB / 0.8551 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/1.128, allocations: 100.5 kB / 0.8552 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5701/1.698, allocations: 133.8 MB / 0.9859 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/1.698, allocations: 0 / 0.9859 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.994e-05/1.698, allocations: 19.98 kB / 0.986 GB, free: 116.1 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.00261/1.7, allocations: 0.9658 MB / 0.9869 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.7, allocations: 8.031 kB / 0.9869 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/1.701, allocations: 102.5 kB / 0.987 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/1.701, allocations: 91.14 kB / 0.9871 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/1.702, allocations: 0.5325 MB / 0.9876 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.982e-05/1.703, allocations: 116.3 kB / 0.9877 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.512e-05/1.703, allocations: 44 kB / 0.9878 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/1.704, allocations: 0.82 MB / 0.9886 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.704, allocations: 7.938 kB / 0.9886 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/1.704, allocations: 23.98 kB / 0.9886 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.508e-05/1.704, allocations: 40.97 kB / 0.9886 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/1.705, allocations: 0.6204 MB / 0.9892 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/1.709, allocations: 4.047 MB / 0.9932 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/1.71, allocations: 339.4 kB / 0.9935 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/1.711, allocations: 1.705 MB / 0.9952 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/1.711, allocations: 42.56 kB / 0.9952 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.103e-06/1.711, allocations: 0 / 0.9952 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.003389/1.715, allocations: 1.366 MB / 0.9966 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/1.715, allocations: 132.5 kB / 0.9967 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/1.715, allocations: 0.55 MB / 0.9972 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/1.715, allocations: 33.7 kB / 0.9973 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/1.716, allocations: 402.3 kB / 0.9976 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/1.716, allocations: 126.2 kB / 0.9978 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/1.716, allocations: 20 kB / 0.9978 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/1.716, allocations: 382.7 kB / 0.9981 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/1.716, allocations: 181.9 kB / 0.9983 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/1.717, allocations: 0.5484 MB / 0.9989 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/1.717, allocations: 297.1 kB / 0.9991 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/1.717, allocations: 4 kB / 0.9991 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001282/1.718, allocations: 0.8108 MB / 0.9999 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.718, allocations: 15.95 kB / 0.9999 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.718, allocations: 12 kB / 1 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/1.719, allocations: 104.9 kB / 1 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/1.719, allocations: 184 kB / 1 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/1.72, allocations: 0.6577 MB / 1.001 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/1.721, allocations: 47.83 kB / 1.001 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/1.721, allocations: 40 kB / 1.001 GB, free: 99.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003584/1.721, allocations: 273.4 kB / 1.001 GB, free: 99.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.721, allocations: 63.25 kB / 1.001 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007634/1.722, allocations: 498 kB / 1.002 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.722, allocations: 4 kB / 1.002 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.722, allocations: 3.938 kB / 1.002 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/1.722, allocations: 7.984 kB / 1.002 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/1.724, allocations: 1.196 MB / 1.003 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.724, allocations: 4 kB / 1.003 GB, free: 97.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/1.724, allocations: 75.84 kB / 1.003 GB, free: 97.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/1.724, allocations: 41.16 kB / 1.003 GB, free: 97.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/1.724, allocations: 20 kB / 1.003 GB, free: 97.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002455/1.724, allocations: 0.5563 MB / 1.004 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.725, allocations: 4 kB / 1.004 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/1.725, allocations: 0.8541 MB / 1.004 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/1.726, allocations: 188.2 kB / 1.005 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.726, allocations: 16 kB / 1.005 GB, free: 95.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/1.726, allocations: 35.97 kB / 1.005 GB, free: 95.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/1.726, allocations: 31.86 kB / 1.005 GB, free: 95.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/1.726, allocations: 27.92 kB / 1.005 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004959/1.727, allocations: 447 kB / 1.005 GB, free: 95.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/1.727, allocations: 0 / 1.005 GB, free: 95.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009074/1.728, allocations: 223.9 kB / 1.005 GB, free: 94.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (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 (36): * Single equations (assignments): 35 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/1.73, allocations: 2.455 MB / 1.008 GB, free: 92.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009471/1.731, allocations: 496.9 kB / 1.008 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.731, allocations: 1.625 kB / 1.008 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/1.731, allocations: 174.2 kB / 1.008 GB, free: 91.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.732, allocations: 311 kB / 1.009 GB, free: 91.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007402/1.74, allocations: 12.09 MB / 1.021 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/1.74, allocations: 0.9532 MB / 1.021 GB, free: 78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008531/1.741, allocations: 202.1 kB / 1.022 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/1.741, allocations: 227.3 kB / 1.022 GB, free: 77.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/1.741, allocations: 4 kB / 1.022 GB, free: 77.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/1.782, allocations: 20.15 MB / 1.042 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.782, allocations: 290.7 kB / 1.042 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/4.453, allocations: 0 / 1.042 GB, free: 57.47 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat