Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007579/0.007579, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001517/0.001517, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3211/0.3211, allocations: 39.95 MB / 309.8 MB, free: 9.434 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 67.89 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3445, allocations: 56.89 MB / 492.7 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.04076/0.3853, allocations: 30.11 MB / 0.5105 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.396, allocations: 4.583 MB / 0.515 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.3978, allocations: 19.38 kB / 0.515 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.3991, allocations: 300.9 kB / 0.5153 GB, free: 9.047 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeBindings: time 0.007028/0.4061, allocations: 1.766 MB / 0.517 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005542/0.4117, allocations: 1.503 MB / 0.5185 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004772/0.4165, allocations: 1.848 MB / 0.5203 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.4176, allocations: 483.1 kB / 0.5208 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007735/0.4254, allocations: 3.165 MB / 0.5239 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.4282, allocations: 1.27 MB / 0.5251 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.4284, allocations: 59.97 kB / 0.5252 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.432, allocations: 1.446 MB / 0.5266 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.4324, allocations: 267.3 kB / 0.5268 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006128/0.433, allocations: 402.2 kB / 0.5272 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.4361, allocations: 1.484 MB / 0.5287 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4361, allocations: 0 / 0.5287 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4362, allocations: 4 kB / 0.5287 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.4362, allocations: 0 / 0.5287 GB, free: 15.57 MB / 414.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.002423/0.4386, allocations: 1.145 MB / 0.5298 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4387, allocations: 12.03 kB / 0.5298 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/0.4397, allocations: 143.9 kB / 0.5299 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.4406, allocations: 0.5443 MB / 0.5305 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.4408, allocations: 96.97 kB / 0.5306 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-05/0.4409, allocations: 52.36 kB / 0.5306 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.4423, allocations: 0.8316 MB / 0.5314 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.4424, allocations: 7.938 kB / 0.5314 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.4424, allocations: 24 kB / 0.5315 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/0.4425, allocations: 36.98 kB / 0.5315 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.4436, allocations: 0.6164 MB / 0.5321 GB, free: 11.88 MB / 414.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.005349/0.449, allocations: 4.877 MB / 0.5369 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.4496, allocations: 330.7 kB / 0.5372 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.4499, allocations: 140.8 kB / 0.5373 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.4504, allocations: 0.6058 MB / 0.5379 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.4505, allocations: 46.56 kB / 0.5379 GB, free: 5.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.685e-06/0.4505, allocations: 0 / 0.5379 GB, free: 5.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004015/0.4545, allocations: 1.542 MB / 0.5394 GB, free: 3.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.4546, allocations: 136.5 kB / 0.5396 GB, free: 3.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.4554, allocations: 0.6563 MB / 0.5402 GB, free: 2.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.4554, allocations: 33.7 kB / 0.5403 GB, free: 2.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.4557, allocations: 390.6 kB / 0.5406 GB, free: 2.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4559, allocations: 134.2 kB / 0.5408 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.4561, allocations: 150.5 kB / 0.5409 GB, free: 2.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4563, allocations: 374.8 kB / 0.5413 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.4566, allocations: 205.9 kB / 0.5414 GB, free: 1.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.4572, allocations: 0.498 MB / 0.5419 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009552/0.4581, allocations: 0.7211 MB / 0.5426 GB, free: 108 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4582, allocations: 0 / 0.5426 GB, free: 108 kB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001742/0.4599, allocations: 0.8951 MB / 0.5435 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.4599, allocations: 8 kB / 0.5435 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.46, allocations: 12 kB / 0.5435 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.4613, allocations: 289.2 kB / 0.5438 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.4617, allocations: 119.8 kB / 0.5439 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.463, allocations: 1.409 MB / 0.5453 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.4635, allocations: 23.98 kB / 0.5453 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/0.4636, allocations: 48 kB / 0.5454 GB, free: 13.25 MB / 430.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.0003922/0.464, allocations: 249.5 kB / 0.5456 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.4641, allocations: 75.22 kB / 0.5457 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.4656, allocations: 0.6406 MB / 0.5463 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4656, allocations: 4 kB / 0.5463 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.4657, allocations: 0 / 0.5463 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.4657, allocations: 7.922 kB / 0.5463 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.4677, allocations: 1.224 MB / 0.5475 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4678, allocations: 0 / 0.5475 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.4679, allocations: 39.98 kB / 0.5475 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008879/0.4688, allocations: 209.4 kB / 0.5477 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.4689, allocations: 20.05 kB / 0.5478 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.47, allocations: 1.296 MB / 0.549 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.47, allocations: 7.875 kB / 0.549 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.4713, allocations: 0.8186 MB / 0.5498 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.4716, allocations: 188.3 kB / 0.55 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.4717, allocations: 4 kB / 0.55 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.4721, allocations: 19.98 kB / 0.55 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.4722, allocations: 19.97 kB / 0.5501 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.4722, allocations: 27.98 kB / 0.5501 GB, free: 8.203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005522/0.4728, allocations: 455 kB / 0.5505 GB, free: 7.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4728, allocations: 0 / 0.5505 GB, free: 7.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4739, allocations: 296 kB / 0.5508 GB, free: 7.477 MB / 430.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.0008843/0.4747, allocations: 364 kB / 0.5512 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.4761, allocations: 0.522 MB / 0.5517 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4761, allocations: 1.625 kB / 0.5517 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.4766, allocations: 227.9 kB / 0.5519 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.4783, allocations: 339.1 kB / 0.5522 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.4808, allocations: 1.259 MB / 0.5534 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.4813, allocations: 0.9303 MB / 0.5543 GB, free: 3.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006073/0.4819, allocations: 221.8 kB / 0.5546 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.4821, allocations: 59.41 kB / 0.5546 GB, free: 3.5 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4821, allocations: 0 / 0.5546 GB, free: 3.5 MB / 430.1 MB Notification: Performance of Templates: time 0.02916/0.5113, allocations: 16.37 MB / 0.5706 GB, free: 3.141 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)