Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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 trunk/package.mo): time 0.001398/0.001398, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 79.81 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1361, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03374/0.1699, allocations: 25.06 MB / 0.4934 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.1775, allocations: 4.367 MB / 0.4977 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007704/0.1783, allocations: 19.88 kB / 0.4977 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.1794, allocations: 298.1 kB / 0.498 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004608/0.184, allocations: 1.629 MB / 0.4996 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.1881, allocations: 1.378 MB / 0.5009 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003278/0.1914, allocations: 1.852 MB / 0.5028 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.1928, allocations: 485.3 kB / 0.5032 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2474/0.4402, allocations: 3.359 MB / 0.5065 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.443, allocations: 1.416 MB / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.4433, allocations: 67.25 kB / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.4466, allocations: 1.272 MB / 0.5092 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004804/0.4471, allocations: 266.1 kB / 0.5094 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.4478, allocations: 407.4 kB / 0.5098 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.4505, allocations: 1.356 MB / 0.5112 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4505, allocations: 3.812 kB / 0.5112 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4505, allocations: 0 / 0.5112 GB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.4505, allocations: 2.266 kB / 0.5112 GB, free: 13.25 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.002299/0.4528, allocations: 1.128 MB / 0.5123 GB, free: 12.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4529, allocations: 13.33 kB / 0.5123 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.453, allocations: 100 kB / 0.5124 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.454, allocations: 147.6 kB / 0.5125 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.4549, allocations: 0.509 MB / 0.513 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.455, allocations: 103.3 kB / 0.5131 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.4551, allocations: 54.72 kB / 0.5132 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.4565, allocations: 0.8314 MB / 0.514 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.4566, allocations: 4.719 kB / 0.514 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.4567, allocations: 26.19 kB / 0.514 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/0.4567, allocations: 38.5 kB / 0.514 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.4581, allocations: 0.6058 MB / 0.5146 GB, free: 12.03 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.005415/0.4635, allocations: 4.689 MB / 0.5192 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008181/0.4644, allocations: 333.3 kB / 0.5195 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.4646, allocations: 137.8 kB / 0.5197 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.4649, allocations: 419.9 kB / 0.5201 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.4649, allocations: 40.38 kB / 0.5201 GB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.424e-06/0.4649, allocations: 0 / 0.5201 GB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003998/0.4689, allocations: 1.537 MB / 0.5216 GB, free: 7.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.469, allocations: 134.8 kB / 0.5217 GB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007864/0.4698, allocations: 0.6581 MB / 0.5224 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.4698, allocations: 32.48 kB / 0.5224 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.4701, allocations: 389.9 kB / 0.5228 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4702, allocations: 133.8 kB / 0.5229 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.4705, allocations: 151.7 kB / 0.523 GB, free: 6.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4706, allocations: 375.7 kB / 0.5234 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.471, allocations: 203.4 kB / 0.5236 GB, free: 6.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.4715, allocations: 0.4936 MB / 0.5241 GB, free: 6.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.4724, allocations: 0.7137 MB / 0.5248 GB, free: 5.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4724, allocations: 2.625 kB / 0.5248 GB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001535/0.4739, allocations: 0.8846 MB / 0.5256 GB, free: 5.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.474, allocations: 16.22 kB / 0.5257 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.474, allocations: 12.88 kB / 0.5257 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.4752, allocations: 289 kB / 0.5259 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.4756, allocations: 120.8 kB / 0.5261 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009724/0.4766, allocations: 1.409 MB / 0.5274 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.4771, allocations: 27.67 kB / 0.5275 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.4772, allocations: 40.03 kB / 0.5275 GB, free: 4.664 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.4775, allocations: 246 kB / 0.5277 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.4777, allocations: 70.81 kB / 0.5278 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.4793, allocations: 0.7141 MB / 0.5285 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4793, allocations: 4.281 kB / 0.5285 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.4793, allocations: 0 / 0.5285 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4793, allocations: 8.984 kB / 0.5285 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.4812, allocations: 1.206 MB / 0.5297 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4812, allocations: 3 kB / 0.5297 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.4814, allocations: 42.41 kB / 0.5297 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008311/0.4822, allocations: 195.4 kB / 0.5299 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.4822, allocations: 20.08 kB / 0.5299 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007565/0.483, allocations: 1.29 MB / 0.5312 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.483, allocations: 1.812 kB / 0.5312 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.4842, allocations: 0.8124 MB / 0.532 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.4844, allocations: 188.3 kB / 0.5322 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4845, allocations: 6.25 kB / 0.5322 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.4849, allocations: 22.25 kB / 0.5322 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.485, allocations: 18.17 kB / 0.5322 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.485, allocations: 26.23 kB / 0.5322 GB, free: 2.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005543/0.4856, allocations: 450.8 kB / 0.5327 GB, free: 2.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4856, allocations: 0 / 0.5327 GB, free: 2.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001047/0.4867, allocations: 253.1 kB / 0.5329 GB, free: 2.539 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/0.4886, allocations: 1.534 MB / 0.5344 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.4898, allocations: 0.5514 MB / 0.5349 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4898, allocations: 5.172 kB / 0.535 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.4903, allocations: 229.3 kB / 0.5352 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.4917, allocations: 341 kB / 0.5355 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.4995, allocations: 6.358 MB / 0.5417 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.5001, allocations: 0.9378 MB / 0.5426 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000886/0.501, allocations: 260.6 kB / 0.5429 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.5014, allocations: 228.3 kB / 0.5431 GB, free: 12.46 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5014, allocations: 0 / 0.5431 GB, free: 12.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05831/0.5597, allocations: 21.85 MB / 0.5644 GB, free: 8.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.64, allocations: 16.06 kB / 0.5644 GB, free: 8.875 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)