Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 96.16 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 180.2 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1053, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03191/0.1372, allocations: 33.12 MB / 0.4928 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2473/0.3846, allocations: 17.19 MB / 0.5096 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.3857, allocations: 24.19 kB / 0.5097 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.3872, allocations: 394.7 kB / 0.51 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.3992, allocations: 4 MB / 0.5139 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007269/0.4065, allocations: 2.11 MB / 0.516 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.4091, allocations: 1.153 MB / 0.5171 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007083/0.4098, allocations: 405.5 kB / 0.5175 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01204/0.4219, allocations: 6.276 MB / 0.5236 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.4345, allocations: 8.755 MB / 0.5322 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.4347, allocations: 36 kB / 0.5322 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01518/0.4499, allocations: 7.038 MB / 0.5391 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.4504, allocations: 221.3 kB / 0.5393 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.4509, allocations: 185.8 kB / 0.5395 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006934/0.4578, allocations: 3.369 MB / 0.5428 GB, free: 3.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4579, allocations: 0 / 0.5428 GB, free: 3.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4579, allocations: 0 / 0.5428 GB, free: 3.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.4579, allocations: 0 / 0.5428 GB, free: 3.117 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004071/0.462, allocations: 1.472 MB / 0.5442 GB, free: 1.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.4621, allocations: 14.88 kB / 0.5442 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.4622, allocations: 110.2 kB / 0.5443 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.4636, allocations: 228.7 kB / 0.5445 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008145/0.4645, allocations: 0.5236 MB / 0.5451 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.4646, allocations: 106.2 kB / 0.5452 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/0.4647, allocations: 64.62 kB / 0.5452 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.4664, allocations: 1.066 MB / 0.5463 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.4664, allocations: 13.64 kB / 0.5463 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.4665, allocations: 28.09 kB / 0.5463 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.4666, allocations: 44.48 kB / 0.5463 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.4682, allocations: 0.8203 MB / 0.5471 GB, free: 15.3 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006187/0.4744, allocations: 5.559 MB / 0.5526 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.4756, allocations: 0.5276 MB / 0.5531 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09349/0.5691, allocations: 47.89 MB / 0.5999 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.5692, allocations: 40.55 kB / 0.5999 GB, free: 5.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/0.5692, allocations: 0 / 0.5999 GB, free: 5.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006459/0.5756, allocations: 2.128 MB / 0.602 GB, free: 3.332 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/0.5758, allocations: 188 kB / 0.6022 GB, free: 3.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.5765, allocations: 0.6395 MB / 0.6028 GB, free: 2.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.5766, allocations: 29.58 kB / 0.6028 GB, free: 2.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.5768, allocations: 404.2 kB / 0.6032 GB, free: 2.293 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.577, allocations: 165.3 kB / 0.6034 GB, free: 2.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.577, allocations: 15.94 kB / 0.6034 GB, free: 2.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5772, allocations: 376 kB / 0.6037 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.5775, allocations: 226.5 kB / 0.6039 GB, free: 1.656 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/0.5781, allocations: 0.5825 MB / 0.6045 GB, free: 1.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.5785, allocations: 339.3 kB / 0.6048 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5785, allocations: 4 kB / 0.6048 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001278/0.5798, allocations: 0.8934 MB / 0.6057 GB, free: 212 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.5799, allocations: 17.86 kB / 0.6057 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.5799, allocations: 12 kB / 0.6057 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/0.5831, allocations: 273.2 kB / 0.606 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.5843, allocations: 284.6 kB / 0.6063 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.5858, allocations: 2.03 MB / 0.6083 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.5865, allocations: 52.41 kB / 0.6083 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.5866, allocations: 50.25 kB / 0.6084 GB, free: 13.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004526/0.587, allocations: 264.2 kB / 0.6086 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.5872, allocations: 77.83 kB / 0.6087 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.5898, allocations: 2.031 MB / 0.6107 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/0.5899, allocations: 27.52 kB / 0.6107 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5899, allocations: 4 kB / 0.6107 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5899, allocations: 0 / 0.6107 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.5934, allocations: 2.997 MB / 0.6136 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.5934, allocations: 3.984 kB / 0.6136 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009323/0.5943, allocations: 184.9 kB / 0.6138 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/0.5961, allocations: 310.5 kB / 0.6141 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.5961, allocations: 12 kB / 0.6141 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.5977, allocations: 2.074 MB / 0.6161 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.5977, allocations: 7.984 kB / 0.6161 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.5999, allocations: 1.958 MB / 0.618 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.6004, allocations: 294.1 kB / 0.6183 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6005, allocations: 12 kB / 0.6183 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.601, allocations: 35.83 kB / 0.6184 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.6011, allocations: 32.39 kB / 0.6184 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.6011, allocations: 22.61 kB / 0.6184 GB, free: 4.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007135/0.6018, allocations: 0.5654 MB / 0.619 GB, free: 4.238 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6019, allocations: 0 / 0.619 GB, free: 4.238 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003691/0.6056, allocations: 1.089 MB / 0.62 GB, free: 3.148 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008398/0.614, allocations: 3.732 MB / 0.6237 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.6162, allocations: 0.923 MB / 0.6246 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.6162, allocations: 4 kB / 0.6246 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.6175, allocations: 0.6433 MB / 0.6252 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.6197, allocations: 374.1 kB / 0.6256 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.6337, allocations: 13.61 MB / 0.6389 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/0.6346, allocations: 1.12 MB / 0.64 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009887/0.6356, allocations: 352.9 kB / 0.6403 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.6361, allocations: 375.3 kB / 0.6407 GB, free: 13.89 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6361, allocations: 0 / 0.6407 GB, free: 13.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0899/0.726, allocations: 54.62 MB / 0.694 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.7263, allocations: 280.8 kB / 0.6943 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.523/5.249, allocations: 4 kB / 0.6943 GB, free: 7.238 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat