Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001756/0.001756, allocations: 190.8 kB / 16.14 MB, free: 6.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.582/1.582, allocations: 205.1 MB / 222 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3489/0.3489, allocations: 37.97 MB / 307.3 MB, free: 10.17 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.1. 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.001572/0.001572, allocations: 70.41 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1366, allocations: 56.47 MB / 431 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3048/0.4415, allocations: 46.36 MB / 477.4 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006124/0.4476, allocations: 4.534 MB / 481.9 MB, free: 26.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.4487, allocations: 31.22 kB / 482 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.4498, allocations: 268.8 kB / 482.2 MB, free: 26.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.4519, allocations: 0.8055 MB / 483 MB, free: 25.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.4542, allocations: 0.8013 MB / 483.8 MB, free: 25.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00253/0.4567, allocations: 2.666 MB / 486.5 MB, free: 24.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.4575, allocations: 399.3 kB / 486.9 MB, free: 24.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1099/0.5674, allocations: 43.32 MB / 0.5178 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01848/0.5859, allocations: 7.968 MB / 0.5256 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.5863, allocations: 39.94 kB / 0.5256 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0257/0.612, allocations: 10.62 MB / 0.536 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.6126, allocations: 235.3 kB / 0.5362 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009521/0.6136, allocations: 366.2 kB / 0.5365 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.6156, allocations: 1.052 MB / 0.5376 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6157, allocations: 0 / 0.5376 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.6157, allocations: 0 / 0.5376 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.091e-05/0.6157, allocations: 0 / 0.5376 GB, free: 15.99 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003226/0.6189, allocations: 1.053 MB / 0.5386 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.619, allocations: 11.97 kB / 0.5386 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.6196, allocations: 96.08 kB / 0.5387 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.6209, allocations: 0.5015 MB / 0.5392 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.621, allocations: 96.97 kB / 0.5393 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.6211, allocations: 56.34 kB / 0.5393 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.6227, allocations: 0.8213 MB / 0.5401 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.6227, allocations: 3.938 kB / 0.5401 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.6228, allocations: 24 kB / 0.5402 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-05/0.6229, allocations: 44.97 kB / 0.5402 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.6242, allocations: 0.6438 MB / 0.5408 GB, free: 12.47 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.005646/0.6298, allocations: 4.225 MB / 0.545 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/0.6308, allocations: 410 kB / 0.5454 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.6312, allocations: 213.3 kB / 0.5456 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.6317, allocations: 0.499 MB / 0.546 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.6318, allocations: 34.89 kB / 0.5461 GB, free: 6.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.6318, allocations: 0 / 0.5461 GB, free: 6.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003494/0.6353, allocations: 1.53 MB / 0.5476 GB, free: 5.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.6354, allocations: 136.5 kB / 0.5477 GB, free: 4.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007863/0.6362, allocations: 0.5693 MB / 0.5483 GB, free: 4.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.6363, allocations: 33.7 kB / 0.5483 GB, free: 4.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.6366, allocations: 354.9 kB / 0.5486 GB, free: 3.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.6368, allocations: 169.7 kB / 0.5488 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.637, allocations: 134.5 kB / 0.5489 GB, free: 3.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6372, allocations: 382.7 kB / 0.5493 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.6376, allocations: 229.8 kB / 0.5495 GB, free: 3.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.6383, allocations: 0.5201 MB / 0.55 GB, free: 2.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.6394, allocations: 0.7757 MB / 0.5508 GB, free: 1.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.6395, allocations: 4 kB / 0.5508 GB, free: 1.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001835/0.6413, allocations: 0.9328 MB / 0.5517 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.6413, allocations: 12.97 kB / 0.5517 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6414, allocations: 8 kB / 0.5517 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.6425, allocations: 268.6 kB / 0.552 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.6429, allocations: 127.8 kB / 0.5521 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.644, allocations: 0.862 MB / 0.5529 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/0.6446, allocations: 51.89 kB / 0.553 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.6446, allocations: 40 kB / 0.553 GB, free: 15.16 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.645, allocations: 249.3 kB / 0.5532 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6451, allocations: 63.25 kB / 0.5533 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.6465, allocations: 0.7179 MB / 0.554 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.6465, allocations: 7.984 kB / 0.554 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6465, allocations: 4 kB / 0.554 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6465, allocations: 0 / 0.554 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.6488, allocations: 1.404 MB / 0.5554 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.6488, allocations: 3.938 kB / 0.5554 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6499, allocations: 195.8 kB / 0.5556 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.6501, allocations: 60.92 kB / 0.5556 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.6502, allocations: 19.98 kB / 0.5557 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.6527, allocations: 2.777 MB / 0.5584 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6527, allocations: 3.938 kB / 0.5584 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.6543, allocations: 0.9918 MB / 0.5593 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.6548, allocations: 204.2 kB / 0.5595 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.6549, allocations: 12 kB / 0.5596 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.6554, allocations: 31.98 kB / 0.5596 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.6555, allocations: 43.83 kB / 0.5596 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.6555, allocations: 19.98 kB / 0.5596 GB, free: 7.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005126/0.6561, allocations: 419 kB / 0.56 GB, free: 7.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6561, allocations: 0 / 0.56 GB, free: 7.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008862/0.657, allocations: 204 kB / 0.5602 GB, free: 7.332 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005695/0.6575, allocations: 234.2 kB / 0.5605 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.6588, allocations: 0.6 MB / 0.561 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.6589, allocations: 8 kB / 0.5611 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.6601, allocations: 487.7 kB / 0.5615 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.6619, allocations: 360 kB / 0.5619 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.6644, allocations: 1.632 MB / 0.5635 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.665, allocations: 0.9424 MB / 0.5644 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008159/0.6658, allocations: 206.2 kB / 0.5646 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.666, allocations: 63.42 kB / 0.5646 GB, free: 2.754 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.666, allocations: 0 / 0.5646 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Templates: time 0.02568/0.6917, allocations: 14.51 MB / 0.5788 GB, free: 4.285 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)