Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_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.0009544/0.0009546, allocations: 98.98 kB / 16.95 MB, free: 6.453 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.001183/0.001183, allocations: 185.6 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004502, allocations: 16 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09327, allocations: 47.58 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04161/0.1349, allocations: 36.36 MB / 364.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.1379, allocations: 1.923 MB / 366.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/0.1383, allocations: 4 kB / 366.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.139, allocations: 135.2 kB / 366.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007331/0.1397, allocations: 286.5 kB / 367.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.1405, allocations: 223.6 kB / 367.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1418, allocations: 1.067 MB / 368.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.142, allocations: 72.67 kB / 368.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3228/0.4648, allocations: 73.2 MB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007839/0.4656, allocations: 268.9 kB / 442 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-05/0.4657, allocations: 16 kB / 442 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.4659, allocations: 20.98 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.466, allocations: 73.19 kB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.4661, allocations: 90.14 kB / 442.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.4665, allocations: 321.3 kB / 442.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4665, allocations: 3.25 kB / 442.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.4665, allocations: 3.984 kB / 442.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4665, allocations: 3.469 kB / 442.5 MB, free: 12.78 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008275/0.4674, allocations: 0.5185 MB / 443 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4674, allocations: 8.031 kB / 443 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.4675, allocations: 61.72 kB / 443.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.4677, allocations: 40.83 kB / 443.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.4681, allocations: 274.9 kB / 443.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4681, allocations: 21.94 kB / 443.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.4681, allocations: 25.22 kB / 443.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.4686, allocations: 298.8 kB / 443.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4686, allocations: 0 / 443.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.4687, allocations: 16.88 kB / 443.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4687, allocations: 9.547 kB / 443.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.469, allocations: 195.8 kB / 444 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.4705, allocations: 1.431 MB / 445.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.4708, allocations: 179.3 kB / 445.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.4709, allocations: 86.83 kB / 445.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.471, allocations: 7.906 kB / 445.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.471, allocations: 39.88 kB / 445.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.471, allocations: 4 kB / 445.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002234/0.4733, allocations: 1.007 MB / 446.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4733, allocations: 51.41 kB / 446.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.4736, allocations: 259.2 kB / 447 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.4736, allocations: 28.95 kB / 447 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.4737, allocations: 176.4 kB / 447.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.4738, allocations: 100 kB / 447.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.4738, allocations: 8.969 kB / 447.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4739, allocations: 338.6 kB / 447.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.474, allocations: 88.19 kB / 447.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.4742, allocations: 174.8 kB / 447.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.4744, allocations: 111 kB / 448 MB, free: 7.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4744, allocations: 8 kB / 448 MB, free: 7.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006116/0.475, allocations: 377 kB / 448.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4751, allocations: 12.22 kB / 448.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4751, allocations: 7.984 kB / 448.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.4753, allocations: 74.59 kB / 448.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.4756, allocations: 65.84 kB / 448.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.4776, allocations: 2.671 MB / 451.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.4779, allocations: 19.86 kB / 451.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.4779, allocations: 15.19 kB / 451.2 MB, free: 4.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.4781, allocations: 159.9 kB / 451.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.4781, allocations: 27.72 kB / 451.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.4782, allocations: 37.42 kB / 451.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.4782, allocations: 7.562 kB / 451.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4782, allocations: 0 / 451.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000586/0.4788, allocations: 0.5613 MB / 452 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/0.4798, allocations: 0.7014 MB / 452.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4798, allocations: 0 / 452.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.48, allocations: 50.02 kB / 452.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/0.4803, allocations: 64.66 kB / 452.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4803, allocations: 7.234 kB / 452.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.4815, allocations: 1.388 MB / 454.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4815, allocations: 0 / 454.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.4822, allocations: 481.3 kB / 454.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.4822, allocations: 92.86 kB / 454.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.4823, allocations: 7.391 kB / 454.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4825, allocations: 16.55 kB / 454.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4826, allocations: 23.52 kB / 454.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.4826, allocations: 4 kB / 454.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.4827, allocations: 189.2 kB / 455 MB, free: 1.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4828, allocations: 4 kB / 455 MB, free: 1.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.4832, allocations: 89.38 kB / 455.1 MB, free: 1.047 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008902/0.4841, allocations: 1.003 MB / 456.1 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.4847, allocations: 465.2 kB / 456.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4848, allocations: 0 / 456.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.4851, allocations: 242.6 kB / 456.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000876/0.486, allocations: 158.1 kB / 457 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.4887, allocations: 1.863 MB / 458.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.489, allocations: 0.7644 MB / 459.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.4893, allocations: 54.92 kB / 459.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4894, allocations: 91.75 kB / 459.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4894, allocations: 0 / 459.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.5097, allocations: 8.005 MB / 467.8 MB, free: 4.938 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.51, allocations: 250 kB / 468 MB, free: 4.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.562, allocations: 4 kB / 468 MB, free: 4.648 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat