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.01039/0.01039, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.00186/0.00186, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.532/1.532, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.3015/0.3015, allocations: 38 MB / 307.9 MB, free: 10.08 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.001494/0.001494, allocations: 71.89 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2814, allocations: 56.47 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04278/0.3242, allocations: 43.96 MB / 0.5209 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.331, allocations: 4.38 MB / 0.5252 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005346/0.3316, allocations: 19.5 kB / 0.5252 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.3326, allocations: 318 kB / 0.5255 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.3345, allocations: 0.8609 MB / 0.5264 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.3369, allocations: 0.8987 MB / 0.5273 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.339, allocations: 1.79 MB / 0.529 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/0.3396, allocations: 464.4 kB / 0.5295 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1133/0.453, allocations: 44.52 MB / 0.5729 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0187/0.4717, allocations: 7.947 MB / 0.5807 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.472, allocations: 56 kB / 0.5807 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02574/0.4977, allocations: 10.68 MB / 0.5912 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.4983, allocations: 259.2 kB / 0.5914 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006949/0.499, allocations: 394.2 kB / 0.5918 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.501, allocations: 1.083 MB / 0.5929 GB, free: 13.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.501, allocations: 0 / 0.5929 GB, free: 13.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.501, allocations: 0 / 0.5929 GB, free: 13.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.501, allocations: 3.938 kB / 0.5929 GB, free: 13.07 MB / 478.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.002152/0.5032, allocations: 1.052 MB / 0.5939 GB, free: 11.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5033, allocations: 8.031 kB / 0.5939 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.5036, allocations: 95.98 kB / 0.594 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.5044, allocations: 0.5287 MB / 0.5945 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5045, allocations: 101 kB / 0.5946 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.5047, allocations: 56.11 kB / 0.5947 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.506, allocations: 0.8213 MB / 0.5955 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.506, allocations: 0 / 0.5955 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.5061, allocations: 27.98 kB / 0.5955 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.093e-05/0.5062, allocations: 36.97 kB / 0.5955 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.5072, allocations: 0.6517 MB / 0.5962 GB, free: 9.52 MB / 478.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.004644/0.5119, allocations: 4.205 MB / 0.6003 GB, free: 5.027 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/0.5128, allocations: 423.1 kB / 0.6007 GB, free: 4.609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.5131, allocations: 209.4 kB / 0.6009 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005543/0.5137, allocations: 0.4951 MB / 0.6013 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.5138, allocations: 42.83 kB / 0.6014 GB, free: 3.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.5138, allocations: 0 / 0.6014 GB, free: 3.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003336/0.5171, allocations: 1.518 MB / 0.6029 GB, free: 2.168 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.5172, allocations: 136.5 kB / 0.603 GB, free: 2.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.5178, allocations: 0.577 MB / 0.6036 GB, free: 1.414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.5179, allocations: 37.7 kB / 0.6036 GB, free: 1.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.5181, allocations: 347.1 kB / 0.6039 GB, free: 1.027 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.5182, allocations: 165.7 kB / 0.6041 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.5184, allocations: 134.5 kB / 0.6042 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5185, allocations: 378.7 kB / 0.6046 GB, free: 356 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.5189, allocations: 229.9 kB / 0.6048 GB, free: 124 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.5194, allocations: 0.5202 MB / 0.6053 GB, free: 15.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/0.5204, allocations: 0.7796 MB / 0.6061 GB, free: 14.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5204, allocations: 4 kB / 0.6061 GB, free: 14.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001605/0.522, allocations: 0.9405 MB / 0.607 GB, free: 13.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.522, allocations: 12.94 kB / 0.607 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5221, allocations: 8 kB / 0.607 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.5231, allocations: 268.7 kB / 0.6073 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.5235, allocations: 131.8 kB / 0.6074 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000879/0.5244, allocations: 0.8567 MB / 0.6082 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.5249, allocations: 31.92 kB / 0.6083 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.5249, allocations: 36.06 kB / 0.6083 GB, free: 12.23 MB / 494.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.0002876/0.5252, allocations: 249.5 kB / 0.6085 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.5253, allocations: 67.23 kB / 0.6086 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.5266, allocations: 0.7151 MB / 0.6093 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.5267, allocations: 4 kB / 0.6093 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5267, allocations: 7.938 kB / 0.6093 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5267, allocations: 3.984 kB / 0.6093 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.5287, allocations: 1.392 MB / 0.6107 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5288, allocations: 4 kB / 0.6107 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.5297, allocations: 187.8 kB / 0.6109 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.53, allocations: 72.84 kB / 0.6109 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.53, allocations: 8 kB / 0.6109 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/0.5323, allocations: 2.982 MB / 0.6138 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5323, allocations: 7.969 kB / 0.6138 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.5339, allocations: 1.001 MB / 0.6148 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.5341, allocations: 200.1 kB / 0.615 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5343, allocations: 16 kB / 0.615 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.5346, allocations: 15.98 kB / 0.615 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.5348, allocations: 39.89 kB / 0.6151 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.5348, allocations: 19.98 kB / 0.6151 GB, free: 4.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005301/0.5353, allocations: 415.1 kB / 0.6155 GB, free: 4.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5354, allocations: 64 / 0.6155 GB, free: 4.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008325/0.5362, allocations: 212 kB / 0.6157 GB, free: 4.203 MB / 494.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.0005719/0.5368, allocations: 244.1 kB / 0.6159 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.5381, allocations: 0.6073 MB / 0.6165 GB, free: 3.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5381, allocations: 5.625 kB / 0.6165 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5392, allocations: 482.5 kB / 0.617 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5408, allocations: 382.7 kB / 0.6174 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.543, allocations: 1.391 MB / 0.6187 GB, free: 1.055 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.5436, allocations: 0.9462 MB / 0.6196 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006612/0.5442, allocations: 206 kB / 0.6198 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.5444, allocations: 63.42 kB / 0.6199 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.5444, allocations: 0 / 0.6199 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.02667/0.5711, allocations: 15.26 MB / 0.6348 GB, free: 0.5625 MB / 0.4981 GB 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)