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.001081/0.001081, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001406/0.001406, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3624/0.3624, allocations: 38.04 MB / 308.4 MB, free: 10.35 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.0005321/0.0005322, allocations: 12.22 kB / 376.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 57.53 MB / 433.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2313/0.344, allocations: 34.5 MB / 468.4 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.349, allocations: 4.132 MB / 472.6 MB, free: 33.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000596/0.3497, allocations: 26.41 kB / 472.6 MB, free: 33.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.3504, allocations: 267.3 kB / 472.9 MB, free: 33.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.352, allocations: 0.7007 MB / 473.6 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.3535, allocations: 0.6785 MB / 474.2 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008911/0.3544, allocations: 1.031 MB / 475.3 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.3549, allocations: 384.6 kB / 475.6 MB, free: 32.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1059/0.4608, allocations: 72.4 MB / 0.5352 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02184/0.4826, allocations: 13.32 MB / 0.5482 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.4829, allocations: 35.94 kB / 0.5482 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03055/0.5135, allocations: 18.48 MB / 0.5663 GB, free: 4.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005666/0.5141, allocations: 215.4 kB / 0.5665 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.5145, allocations: 161.4 kB / 0.5666 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.5157, allocations: 0.7571 MB / 0.5674 GB, free: 3.598 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5157, allocations: 4 kB / 0.5674 GB, free: 3.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.5157, allocations: 4 kB / 0.5674 GB, free: 3.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.5157, allocations: 0 / 0.5674 GB, free: 3.59 MB / 430.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.002029/0.5177, allocations: 0.9204 MB / 0.5683 GB, free: 2.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5178, allocations: 8.031 kB / 0.5683 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.5181, allocations: 83.16 kB / 0.5684 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.519, allocations: 0.5004 MB / 0.5689 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.5191, allocations: 100.4 kB / 0.569 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/0.5192, allocations: 51.98 kB / 0.569 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.5203, allocations: 0.8065 MB / 0.5698 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5204, allocations: 8 kB / 0.5698 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.177e-05/0.5204, allocations: 23.98 kB / 0.5698 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/0.5205, allocations: 44.91 kB / 0.5699 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009916/0.5215, allocations: 0.6361 MB / 0.5705 GB, free: 236 kB / 430.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.004679/0.5262, allocations: 4.248 MB / 0.5746 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.527, allocations: 407.9 kB / 0.575 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004836/0.5275, allocations: 0.4989 MB / 0.5755 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.5276, allocations: 38.89 kB / 0.5756 GB, free: 10.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.5276, allocations: 0 / 0.5756 GB, free: 10.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003207/0.5308, allocations: 1.523 MB / 0.577 GB, free: 9.062 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5309, allocations: 144.5 kB / 0.5772 GB, free: 8.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.5316, allocations: 0.5615 MB / 0.5777 GB, free: 8.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.5316, allocations: 33.7 kB / 0.5778 GB, free: 8.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.5319, allocations: 354.9 kB / 0.5781 GB, free: 7.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.532, allocations: 165.7 kB / 0.5783 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.532, allocations: 12 kB / 0.5783 GB, free: 7.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5322, allocations: 370.8 kB / 0.5786 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.5326, allocations: 221.9 kB / 0.5788 GB, free: 7.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.5331, allocations: 0.5201 MB / 0.5793 GB, free: 6.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.5336, allocations: 316.6 kB / 0.5796 GB, free: 6.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5336, allocations: 4 kB / 0.5797 GB, free: 6.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002598/0.5362, allocations: 0.9601 MB / 0.5806 GB, free: 5.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.5362, allocations: 8 kB / 0.5806 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.5363, allocations: 16.03 kB / 0.5806 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.5377, allocations: 278.1 kB / 0.5809 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.5383, allocations: 127.8 kB / 0.581 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.5396, allocations: 0.8568 MB / 0.5818 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.5403, allocations: 55.81 kB / 0.5819 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/0.5404, allocations: 36 kB / 0.5819 GB, free: 3.836 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004962/0.5409, allocations: 250.5 kB / 0.5822 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5411, allocations: 63.25 kB / 0.5822 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.5429, allocations: 0.7251 MB / 0.5829 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.5429, allocations: 11.94 kB / 0.5829 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.5429, allocations: 4 kB / 0.5829 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5429, allocations: 3.984 kB / 0.5829 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.5458, allocations: 1.399 MB / 0.5843 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.5458, allocations: 0 / 0.5843 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.5471, allocations: 191.8 kB / 0.5845 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/0.5475, allocations: 68.84 kB / 0.5846 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.5476, allocations: 19.98 kB / 0.5846 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.5506, allocations: 2.808 MB / 0.5873 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5506, allocations: 3.938 kB / 0.5873 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.5528, allocations: 1.078 MB / 0.5884 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.5532, allocations: 200.3 kB / 0.5886 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5534, allocations: 12 kB / 0.5886 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.5539, allocations: 39.89 kB / 0.5886 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5541, allocations: 39.89 kB / 0.5887 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.5541, allocations: 16 kB / 0.5887 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006632/0.5548, allocations: 398.8 kB / 0.5891 GB, free: 12.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.314e-06/0.5548, allocations: 0 / 0.5891 GB, free: 12.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001176/0.556, allocations: 203.9 kB / 0.5892 GB, free: 11.86 MB / 462.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006275/0.5567, allocations: 229.5 kB / 0.5895 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.5579, allocations: 0.6046 MB / 0.5901 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5579, allocations: 0 / 0.5901 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.559, allocations: 486.9 kB / 0.5905 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.5609, allocations: 320.4 kB / 0.5908 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.5642, allocations: 1.642 MB / 0.5924 GB, free: 8.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.5649, allocations: 0.9503 MB / 0.5934 GB, free: 7.562 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00111/0.566, allocations: 208.5 kB / 0.5936 GB, free: 7.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.5663, allocations: 63.38 kB / 0.5936 GB, free: 7.301 MB / 462.1 MB Notification: Performance of SimCode: time 5.62e-07/0.5663, allocations: 0 / 0.5936 GB, free: 7.301 MB / 462.1 MB Notification: Performance of Templates: time 0.03059/0.5969, allocations: 13.43 MB / 0.6067 GB, free: 9.898 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: