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.001061/0.001062, allocations: 95.62 kB / 16.93 MB, free: 5.984 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.001042/0.001042, allocations: 180 kB / 17.82 MB, free: 5.652 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.517/1.517, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005006/0.0005008, allocations: 15.28 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1074, allocations: 47.57 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03701/0.1445, allocations: 30.65 MB / 359.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1469, allocations: 1.51 MB / 360.6 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.1472, allocations: 4 kB / 360.6 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.1478, allocations: 131.3 kB / 360.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.1483, allocations: 211.4 kB / 360.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.1489, allocations: 227.4 kB / 361.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006816/0.1496, allocations: 463 kB / 361.6 MB, free: 2.734 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1498, allocations: 72.69 kB / 361.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3561/0.506, allocations: 72.1 MB / 433.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005569/0.5066, allocations: 164.9 kB / 433.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.5067, allocations: 16 kB / 433.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.5069, allocations: 26.12 kB / 434 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.507, allocations: 65.53 kB / 434 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.5071, allocations: 90.67 kB / 434.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.5075, allocations: 324.3 kB / 434.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5075, allocations: 0 / 434.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5075, allocations: 3.844 kB / 434.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.5076, allocations: 0 / 434.4 MB, free: 6.973 MB / 334.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.00108/0.5086, allocations: 0.5276 MB / 435 MB, free: 6.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5087, allocations: 8.031 kB / 435 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.598e-05/0.5088, allocations: 59.67 kB / 435 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.5091, allocations: 44.81 kB / 435.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.5095, allocations: 273.4 kB / 435.3 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.5095, allocations: 19.06 kB / 435.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.5095, allocations: 25.88 kB / 435.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.5101, allocations: 297.9 kB / 435.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5102, allocations: 7.844 kB / 435.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.5102, allocations: 11.98 kB / 435.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.5102, allocations: 5.547 kB / 435.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.5106, allocations: 203.4 kB / 435.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5123, allocations: 1.428 MB / 437.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.5128, allocations: 187.2 kB / 437.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.5128, allocations: 4.734 kB / 437.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.5128, allocations: 37.94 kB / 437.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.5129, allocations: 0 / 437.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002619/0.5155, allocations: 0.9978 MB / 438.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.5155, allocations: 66.61 kB / 438.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.5158, allocations: 252 kB / 438.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.5159, allocations: 36.2 kB / 438.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.516, allocations: 176.6 kB / 439.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.5161, allocations: 91.55 kB / 439.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5161, allocations: 6.562 kB / 439.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5162, allocations: 339.2 kB / 439.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.5164, allocations: 87.3 kB / 439.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.5166, allocations: 180.8 kB / 439.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.5167, allocations: 106.9 kB / 439.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5168, allocations: 4 kB / 439.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007691/0.5175, allocations: 388 kB / 440.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.5176, allocations: 8 kB / 440.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.5176, allocations: 4 kB / 440.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.5179, allocations: 67.42 kB / 440.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.5182, allocations: 69.16 kB / 440.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.521, allocations: 2.69 MB / 443.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.5213, allocations: 18.88 kB / 443.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.5213, allocations: 12.7 kB / 443.1 MB, free: 14.89 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.0001955/0.5215, allocations: 155.4 kB / 443.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.5216, allocations: 35.23 kB / 443.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.778e-05/0.5217, allocations: 38.48 kB / 443.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5217, allocations: 4 kB / 443.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5217, allocations: 2.734 kB / 443.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006805/0.5224, allocations: 0.5643 MB / 443.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.5236, allocations: 0.7079 MB / 444.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5236, allocations: 0 / 444.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.5238, allocations: 45.45 kB / 444.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/0.5241, allocations: 63.14 kB / 444.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5241, allocations: 8.547 kB / 444.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.5255, allocations: 1.396 MB / 446.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5255, allocations: 4.938 kB / 446.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.5262, allocations: 484.4 kB / 446.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.5263, allocations: 96.86 kB / 446.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.5264, allocations: 10.67 kB / 446.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.5266, allocations: 15.06 kB / 446.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.5266, allocations: 15.97 kB / 446.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.5267, allocations: 11.69 kB / 446.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.5269, allocations: 184.8 kB / 446.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5269, allocations: 0 / 446.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005436/0.5274, allocations: 92.45 kB / 447 MB, free: 11.24 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.00115/0.5286, allocations: 1.091 MB / 448.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007691/0.5294, allocations: 472.5 kB / 448.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5294, allocations: 2.516 kB / 448.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.5299, allocations: 232.9 kB / 448.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000895/0.5308, allocations: 162.4 kB / 449 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.5348, allocations: 3.654 MB / 452.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.5354, allocations: 0.7723 MB / 453.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.5357, allocations: 50.94 kB / 453.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.5359, allocations: 85.16 kB / 453.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5359, allocations: 0 / 453.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.5593, allocations: 7.99 MB / 461.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.5596, allocations: 244.3 kB / 461.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.399, allocations: 3.938 kB / 461.8 MB, free: 13.01 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