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.007046/0.007046, allocations: 98.41 kB / 15.73 MB, free: 6.008 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.001583/0.001583, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.393/1.393, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.2805/0.2805, allocations: 38 MB / 307.9 MB, free: 10.07 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: 67.89 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3208, allocations: 56.46 MB / 489.5 MB, free: 20.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05558/0.3765, allocations: 43.96 MB / 0.5209 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007057/0.3836, allocations: 4.387 MB / 0.5252 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009998/0.3846, allocations: 23.69 kB / 0.5253 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.3859, allocations: 309.7 kB / 0.5255 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.3887, allocations: 0.8473 MB / 0.5264 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.3914, allocations: 0.8945 MB / 0.5272 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00238/0.3938, allocations: 1.787 MB / 0.529 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007801/0.3946, allocations: 460.9 kB / 0.5294 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1229/0.5174, allocations: 44.51 MB / 0.5729 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01984/0.5373, allocations: 7.944 MB / 0.5807 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.5377, allocations: 60 kB / 0.5807 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02864/0.5663, allocations: 10.68 MB / 0.5911 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006777/0.567, allocations: 259.2 kB / 0.5914 GB, free: 14.6 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008979/0.568, allocations: 390.2 kB / 0.5918 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.5704, allocations: 1.086 MB / 0.5928 GB, free: 13.13 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5705, allocations: 0 / 0.5928 GB, free: 13.13 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5705, allocations: 0 / 0.5928 GB, free: 13.13 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.284e-05/0.5705, allocations: 4 kB / 0.5928 GB, free: 13.12 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.003282/0.5738, allocations: 1.066 MB / 0.5939 GB, free: 12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5739, allocations: 12.02 kB / 0.5939 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004656/0.5744, allocations: 92.47 kB / 0.594 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5754, allocations: 0.5408 MB / 0.5945 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.5755, allocations: 105 kB / 0.5946 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.5757, allocations: 56.11 kB / 0.5946 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.577, allocations: 0.8135 MB / 0.5954 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.577, allocations: 4 kB / 0.5954 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.5771, allocations: 24 kB / 0.5955 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.5771, allocations: 40.92 kB / 0.5955 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5783, allocations: 0.6439 MB / 0.5961 GB, free: 9.555 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.004979/0.5833, allocations: 4.225 MB / 0.6003 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.5843, allocations: 419.8 kB / 0.6007 GB, free: 4.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.5846, allocations: 213.3 kB / 0.6009 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/0.5851, allocations: 0.4951 MB / 0.6013 GB, free: 3.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.5852, allocations: 46.88 kB / 0.6014 GB, free: 3.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.5852, allocations: 0 / 0.6014 GB, free: 3.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003376/0.5885, allocations: 1.539 MB / 0.6029 GB, free: 2.156 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.5886, allocations: 132.5 kB / 0.603 GB, free: 1.996 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007131/0.5894, allocations: 0.5694 MB / 0.6036 GB, free: 1.414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.5894, allocations: 37.69 kB / 0.6036 GB, free: 1.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.5896, allocations: 359.9 kB / 0.604 GB, free: 1.016 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.5898, allocations: 166.5 kB / 0.6041 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.59, allocations: 150.6 kB / 0.6043 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5901, allocations: 378.7 kB / 0.6046 GB, free: 328 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.5905, allocations: 221.9 kB / 0.6048 GB, free: 104 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.5911, allocations: 0.5162 MB / 0.6053 GB, free: 15.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5921, allocations: 0.7835 MB / 0.6061 GB, free: 14.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5922, allocations: 0 / 0.6061 GB, free: 14.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001856/0.594, allocations: 0.9458 MB / 0.607 GB, free: 13.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.5941, allocations: 8 kB / 0.607 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.5941, allocations: 12 kB / 0.607 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.5953, allocations: 264 kB / 0.6073 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.5957, allocations: 123.8 kB / 0.6074 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.5967, allocations: 0.8734 MB / 0.6083 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.5972, allocations: 28 kB / 0.6083 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.5973, allocations: 32 kB / 0.6083 GB, free: 12.22 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.0003801/0.5977, allocations: 245.5 kB / 0.6086 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5978, allocations: 75.53 kB / 0.6086 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.5992, allocations: 0.7153 MB / 0.6093 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.5992, allocations: 8 kB / 0.6093 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5992, allocations: 0 / 0.6093 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5992, allocations: 0 / 0.6093 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.6014, allocations: 1.403 MB / 0.6107 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6014, allocations: 0 / 0.6107 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009882/0.6024, allocations: 199.9 kB / 0.6109 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.6027, allocations: 52.73 kB / 0.6109 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.6027, allocations: 19.98 kB / 0.611 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.605, allocations: 2.986 MB / 0.6139 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6051, allocations: 8.047 kB / 0.6139 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.6066, allocations: 1.001 MB / 0.6149 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.6069, allocations: 204.6 kB / 0.6151 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/0.607, allocations: 12 kB / 0.6151 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.6073, allocations: 16 kB / 0.6151 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.6074, allocations: 39.83 kB / 0.6151 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.6075, allocations: 24.05 kB / 0.6152 GB, free: 4.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005101/0.608, allocations: 423 kB / 0.6156 GB, free: 4.371 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.608, allocations: 0 / 0.6156 GB, free: 4.371 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007745/0.6088, allocations: 207.9 kB / 0.6158 GB, free: 4.168 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.0005236/0.6093, allocations: 231.7 kB / 0.616 GB, free: 3.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.6105, allocations: 0.6049 MB / 0.6166 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6105, allocations: 3.938 kB / 0.6166 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.6117, allocations: 490 kB / 0.617 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.6133, allocations: 376.5 kB / 0.6174 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.6154, allocations: 1.414 MB / 0.6188 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.6159, allocations: 0.9344 MB / 0.6197 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006337/0.6166, allocations: 214.1 kB / 0.6199 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.6168, allocations: 59.42 kB / 0.6199 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.6168, allocations: 0 / 0.6199 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.02513/0.6419, allocations: 15.28 MB / 0.6349 GB, free: 0.5039 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)