Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001126/0.001126, allocations: 98.23 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 174.4 kB / 16.57 MB, free: 6.375 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.788/1.788, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4073/0.4073, allocations: 43.55 MB / 314.5 MB, free: 9.023 MB / 254.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.0006552/0.0006554, allocations: 16 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.159, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.3267/0.4858, allocations: 18.2 MB / 461.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.496, allocations: 5.831 MB / 466.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.4973, allocations: 27 kB / 466.9 MB, free: 35.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.4981, allocations: 246.1 kB / 467.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004628/0.5028, allocations: 1.497 MB / 468.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.5066, allocations: 1.255 MB / 469.9 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.5086, allocations: 1.058 MB / 471 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/0.5096, allocations: 405 kB / 471.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005655/0.5152, allocations: 3.113 MB / 474.5 MB, free: 35.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.5175, allocations: 1.176 MB / 475.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.5178, allocations: 31.66 kB / 475.7 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.5211, allocations: 1.349 MB / 477 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.5215, allocations: 217.5 kB / 477.2 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.5219, allocations: 163.4 kB / 477.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.5241, allocations: 1.047 MB / 478.4 MB, free: 34.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5241, allocations: 0 / 478.4 MB, free: 34.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5241, allocations: 0 / 478.4 MB, free: 34.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.494e-05/0.5242, allocations: 4 kB / 478.4 MB, free: 34.37 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002718/0.5269, allocations: 1.002 MB / 479.4 MB, free: 33.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.527, allocations: 9.781 kB / 479.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000254/0.5272, allocations: 101.8 kB / 479.6 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.5284, allocations: 141.2 kB / 479.7 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5295, allocations: 0.4967 MB / 480.2 MB, free: 33.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.5297, allocations: 108.1 kB / 480.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5298, allocations: 50.12 kB / 480.3 MB, free: 33.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.5314, allocations: 0.8266 MB / 481.2 MB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.5314, allocations: 7.438 kB / 481.2 MB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-05/0.5315, allocations: 26.02 kB / 481.2 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.784e-05/0.5316, allocations: 40.09 kB / 481.2 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.5328, allocations: 0.6101 MB / 481.9 MB, free: 32.43 MB / 382.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.004802/0.5376, allocations: 4.644 MB / 486.5 MB, free: 28.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.5382, allocations: 335.6 kB / 486.8 MB, free: 28.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.5385, allocations: 340 kB / 487.2 MB, free: 28.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.5385, allocations: 41.42 kB / 487.2 MB, free: 27.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/0.5386, allocations: 0 / 487.2 MB, free: 27.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003928/0.5425, allocations: 1.541 MB / 488.7 MB, free: 27.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.5426, allocations: 137.5 kB / 488.9 MB, free: 26.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008819/0.5435, allocations: 0.6422 MB / 489.5 MB, free: 26.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.5435, allocations: 36.67 kB / 489.6 MB, free: 26.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.5438, allocations: 393 kB / 489.9 MB, free: 26.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.544, allocations: 134.7 kB / 490.1 MB, free: 26.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.544, allocations: 15.06 kB / 490.1 MB, free: 26.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5442, allocations: 375.7 kB / 490.4 MB, free: 25.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.5446, allocations: 199 kB / 490.6 MB, free: 25.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.5451, allocations: 0.4895 MB / 491.1 MB, free: 25.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.5456, allocations: 291.8 kB / 491.4 MB, free: 25.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5456, allocations: 6.219 kB / 491.4 MB, free: 25.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001684/0.5473, allocations: 0.8672 MB / 492.3 MB, free: 24.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.5473, allocations: 8.656 kB / 492.3 MB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.5474, allocations: 8.812 kB / 492.3 MB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.5489, allocations: 297.8 kB / 492.6 MB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.5493, allocations: 123.8 kB / 492.7 MB, free: 24.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.5505, allocations: 1.394 MB / 494.1 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.5511, allocations: 45.44 kB / 494.2 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/0.5512, allocations: 43.89 kB / 494.2 MB, free: 23.57 MB / 382.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.5516, allocations: 245.4 kB / 494.4 MB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.5518, allocations: 70.16 kB / 494.5 MB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.5538, allocations: 0.6548 MB / 495.2 MB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.5538, allocations: 9.375 kB / 495.2 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5538, allocations: 0 / 495.2 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5539, allocations: 2.016 kB / 495.2 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.5563, allocations: 1.225 MB / 496.4 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5563, allocations: 1.125 kB / 496.4 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.5565, allocations: 42.53 kB / 496.4 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009427/0.5575, allocations: 214.2 kB / 496.7 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.5575, allocations: 13.64 kB / 496.7 MB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009498/0.5585, allocations: 1.301 MB / 498 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5585, allocations: 1.547 kB / 498 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.5599, allocations: 0.8293 MB / 498.8 MB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.5603, allocations: 200.4 kB / 499 MB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.5604, allocations: 8.109 kB / 499 MB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.5608, allocations: 18.67 kB / 499 MB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.5609, allocations: 24.81 kB / 499 MB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.5609, allocations: 37.2 kB / 499.1 MB, free: 20.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006796/0.5616, allocations: 448.5 kB / 499.5 MB, free: 20.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5616, allocations: 0 / 499.5 MB, free: 20.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001214/0.5628, allocations: 289.3 kB / 499.8 MB, free: 20.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002407/0.5653, allocations: 1.772 MB / 0.4898 GB, free: 19.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.5664, allocations: 0.5094 MB / 0.4903 GB, free: 18.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5664, allocations: 5.344 kB / 0.4903 GB, free: 18.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.5669, allocations: 219.5 kB / 0.4905 GB, free: 18.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.5685, allocations: 293 kB / 0.4908 GB, free: 18.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009087/0.5776, allocations: 10.34 MB / 0.5009 GB, free: 26.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.5783, allocations: 0.9512 MB / 0.5018 GB, free: 25.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009388/0.5793, allocations: 210.1 kB / 0.502 GB, free: 25.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.5796, allocations: 225.1 kB / 0.5022 GB, free: 25.36 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5796, allocations: 3.938 kB / 0.5023 GB, free: 25.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05617/0.6358, allocations: 21.52 MB / 0.5233 GB, free: 12.7 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003382/0.6362, allocations: 288.6 kB / 0.5235 GB, free: 12.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.045, allocations: 4 kB / 0.5235 GB, free: 12.34 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat