Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.0009856/0.0009856, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008876/0.008878, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.767/1.767, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.388/0.388, allocations: 40 MB / 310.7 MB, free: 9.598 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.0006113/0.0006114, allocations: 12 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1387, allocations: 57.96 MB / 437.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3225/0.4613, allocations: 45.36 MB / 482.8 MB, free: 26.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007618/0.469, allocations: 4.474 MB / 487.3 MB, free: 23.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.4703, allocations: 25.56 kB / 487.3 MB, free: 23.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4713, allocations: 276.5 kB / 487.6 MB, free: 23.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.4738, allocations: 0.801 MB / 488.4 MB, free: 23.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.4765, allocations: 0.8015 MB / 489.2 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.4791, allocations: 2.672 MB / 491.8 MB, free: 21.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000803/0.4799, allocations: 394.5 kB / 492.2 MB, free: 21.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08968/0.5696, allocations: 43.32 MB / 0.523 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01493/0.5846, allocations: 7.967 MB / 0.5308 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.5849, allocations: 36 kB / 0.5308 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03133/0.6162, allocations: 10.62 MB / 0.5412 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008258/0.6171, allocations: 231.3 kB / 0.5414 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009213/0.618, allocations: 387.9 kB / 0.5418 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.62, allocations: 1.036 MB / 0.5428 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.62, allocations: 0 / 0.5428 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.62, allocations: 0 / 0.5428 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.62, allocations: 3.938 kB / 0.5428 GB, free: 11.66 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.002609/0.6226, allocations: 0.9152 MB / 0.5437 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.6227, allocations: 23.91 kB / 0.5437 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.6232, allocations: 92.08 kB / 0.5438 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.6244, allocations: 0.5053 MB / 0.5443 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.6245, allocations: 101 kB / 0.5444 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.6247, allocations: 56.34 kB / 0.5444 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.6265, allocations: 0.8213 MB / 0.5452 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.6266, allocations: 3.938 kB / 0.5452 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-05/0.6267, allocations: 20 kB / 0.5452 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/0.6267, allocations: 36.98 kB / 0.5453 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.6284, allocations: 0.6439 MB / 0.5459 GB, free: 8.27 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.007017/0.6355, allocations: 4.229 MB / 0.55 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.6368, allocations: 416 kB / 0.5504 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.6372, allocations: 209.4 kB / 0.5506 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/0.6377, allocations: 0.4951 MB / 0.5511 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.6378, allocations: 38.89 kB / 0.5512 GB, free: 2.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.956e-06/0.6378, allocations: 0 / 0.5512 GB, free: 2.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.004097/0.6419, allocations: 1.526 MB / 0.5526 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.642, allocations: 136.5 kB / 0.5528 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.6427, allocations: 0.5654 MB / 0.5533 GB, free: 164 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.6427, allocations: 37.7 kB / 0.5534 GB, free: 120 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.643, allocations: 362.9 kB / 0.5537 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6431, allocations: 153.8 kB / 0.5539 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.6432, allocations: 69.67 kB / 0.5539 GB, free: 15.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.6435, allocations: 378.7 kB / 0.5543 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.6439, allocations: 225.8 kB / 0.5545 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.6444, allocations: 0.524 MB / 0.555 GB, free: 14.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009587/0.6454, allocations: 0.7718 MB / 0.5558 GB, free: 13.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.6454, allocations: 4 kB / 0.5558 GB, free: 13.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001737/0.6472, allocations: 0.9454 MB / 0.5567 GB, free: 12.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.6472, allocations: 11.98 kB / 0.5567 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6472, allocations: 8 kB / 0.5567 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.6484, allocations: 269.3 kB / 0.557 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.6488, allocations: 123.8 kB / 0.5571 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009618/0.6498, allocations: 0.8622 MB / 0.5579 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.6504, allocations: 47.91 kB / 0.558 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.6504, allocations: 39.94 kB / 0.558 GB, free: 11.04 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.0004141/0.6509, allocations: 245.6 kB / 0.5582 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.651, allocations: 67.16 kB / 0.5583 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.6524, allocations: 0.724 MB / 0.559 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.6524, allocations: 4.047 kB / 0.559 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6525, allocations: 3.984 kB / 0.559 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.6525, allocations: 3.984 kB / 0.559 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.6547, allocations: 1.403 MB / 0.5604 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.6548, allocations: 7.938 kB / 0.5604 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009723/0.6557, allocations: 192 kB / 0.5606 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.6561, allocations: 60.8 kB / 0.5606 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.6561, allocations: 15.98 kB / 0.5607 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.6586, allocations: 2.793 MB / 0.5634 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6587, allocations: 3.938 kB / 0.5634 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.6603, allocations: 0.9957 MB / 0.5644 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.6606, allocations: 204.2 kB / 0.5646 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.6608, allocations: 16 kB / 0.5646 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/0.6613, allocations: 31.83 kB / 0.5646 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6614, allocations: 43.94 kB / 0.5646 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.6615, allocations: 20 kB / 0.5647 GB, free: 3.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005318/0.662, allocations: 419 kB / 0.5651 GB, free: 3.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6621, allocations: 0 / 0.5651 GB, free: 3.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008352/0.6629, allocations: 208 kB / 0.5653 GB, free: 3.168 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.0005063/0.6634, allocations: 234.9 kB / 0.5655 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.6646, allocations: 0.6086 MB / 0.5661 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6646, allocations: 0 / 0.5661 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.6659, allocations: 482.3 kB / 0.5665 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.6682, allocations: 369.5 kB / 0.5669 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.6708, allocations: 1.718 MB / 0.5686 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.6713, allocations: 0.9385 MB / 0.5695 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007958/0.6721, allocations: 202.6 kB / 0.5697 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.6723, allocations: 63.42 kB / 0.5697 GB, free: 14.51 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6723, allocations: 0 / 0.5697 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Templates: time 0.02484/0.6972, allocations: 14.44 MB / 0.5838 GB, free: 108 kB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: