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.007495/0.007495, allocations: 99.41 kB / 15.73 MB, free: 6.453 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.001219/0.001219, allocations: 190.2 kB / 16.67 MB, free: 6.367 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3372/0.3372, allocations: 38 MB / 307.9 MB, free: 10.02 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.001681/0.001681, allocations: 71.91 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.353, allocations: 56.47 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05182/0.4049, allocations: 43.96 MB / 0.5209 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006798/0.4117, allocations: 4.38 MB / 0.5252 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005595/0.4123, allocations: 18.31 kB / 0.5252 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.4132, allocations: 313.2 kB / 0.5255 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.4162, allocations: 0.8479 MB / 0.5264 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.4189, allocations: 0.8952 MB / 0.5272 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.4212, allocations: 1.786 MB / 0.529 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007018/0.4219, allocations: 460.9 kB / 0.5294 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.102/0.524, allocations: 44.52 MB / 0.5729 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01653/0.5405, allocations: 7.944 MB / 0.5807 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.5409, allocations: 60 kB / 0.5807 GB, free: 9.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02256/0.5634, allocations: 10.68 MB / 0.5911 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006538/0.5641, allocations: 259.2 kB / 0.5914 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008494/0.565, allocations: 394.2 kB / 0.5918 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.5669, allocations: 1.083 MB / 0.5928 GB, free: 13.1 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.567, allocations: 0 / 0.5928 GB, free: 13.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.567, allocations: 0 / 0.5928 GB, free: 13.1 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.567, allocations: 4 kB / 0.5928 GB, free: 13.1 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.002241/0.5692, allocations: 1.048 MB / 0.5939 GB, free: 12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5693, allocations: 8.031 kB / 0.5939 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.5696, allocations: 95.98 kB / 0.594 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/0.5705, allocations: 0.5287 MB / 0.5945 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.5707, allocations: 105 kB / 0.5946 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.5708, allocations: 60.11 kB / 0.5946 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.5721, allocations: 0.8135 MB / 0.5954 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.5721, allocations: 4 kB / 0.5954 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.5722, allocations: 24 kB / 0.5954 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.01e-05/0.5723, allocations: 32.98 kB / 0.5955 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.5733, allocations: 0.6478 MB / 0.5961 GB, free: 9.559 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.00474/0.5781, allocations: 4.213 MB / 0.6002 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008655/0.5789, allocations: 419.7 kB / 0.6006 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.5793, allocations: 217.3 kB / 0.6008 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.5797, allocations: 0.4951 MB / 0.6013 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.5798, allocations: 46.83 kB / 0.6014 GB, free: 3.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/0.5798, allocations: 0 / 0.6014 GB, free: 3.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003024/0.5828, allocations: 1.526 MB / 0.6029 GB, free: 2.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.5829, allocations: 136.5 kB / 0.603 GB, free: 2.016 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.5835, allocations: 0.5692 MB / 0.6035 GB, free: 1.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.5836, allocations: 37.7 kB / 0.6036 GB, free: 1.391 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.5838, allocations: 351.1 kB / 0.6039 GB, free: 1.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.5839, allocations: 161.7 kB / 0.6041 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.5841, allocations: 138.5 kB / 0.6042 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5843, allocations: 378.7 kB / 0.6046 GB, free: 372 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.5847, allocations: 221.9 kB / 0.6048 GB, free: 148 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.5852, allocations: 0.524 MB / 0.6053 GB, free: 15.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000943/0.5862, allocations: 0.7718 MB / 0.606 GB, free: 14.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5862, allocations: 4 kB / 0.606 GB, free: 14.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001679/0.5879, allocations: 0.953 MB / 0.607 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5879, allocations: 8 kB / 0.607 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5879, allocations: 8 kB / 0.607 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.589, allocations: 264.8 kB / 0.6072 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.5894, allocations: 127.8 kB / 0.6074 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009052/0.5903, allocations: 0.8652 MB / 0.6082 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.5908, allocations: 31.88 kB / 0.6082 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.5908, allocations: 35.98 kB / 0.6083 GB, free: 12.26 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.0002984/0.5911, allocations: 241.6 kB / 0.6085 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.5912, allocations: 63.25 kB / 0.6086 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.5925, allocations: 0.7251 MB / 0.6093 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5925, allocations: 4 kB / 0.6093 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5926, allocations: 0 / 0.6093 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5926, allocations: 3.984 kB / 0.6093 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.5946, allocations: 1.396 MB / 0.6106 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5946, allocations: 0 / 0.6106 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009478/0.5956, allocations: 192 kB / 0.6108 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.5958, allocations: 68.62 kB / 0.6109 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.5959, allocations: 12 kB / 0.6109 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.5981, allocations: 2.979 MB / 0.6138 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5982, allocations: 7.969 kB / 0.6138 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.5996, allocations: 1.001 MB / 0.6148 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.6, allocations: 204.1 kB / 0.615 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.6, allocations: 12 kB / 0.615 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.6004, allocations: 16 kB / 0.615 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.6005, allocations: 43.94 kB / 0.6151 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.6005, allocations: 19.94 kB / 0.6151 GB, free: 4.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004812/0.601, allocations: 423 kB / 0.6155 GB, free: 4.426 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.601, allocations: 0 / 0.6155 GB, free: 4.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007361/0.6018, allocations: 208 kB / 0.6157 GB, free: 4.223 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.0004708/0.6023, allocations: 239.8 kB / 0.6159 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.6034, allocations: 0.6128 MB / 0.6165 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6034, allocations: 4 kB / 0.6165 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.6045, allocations: 486 kB / 0.617 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.6061, allocations: 375.6 kB / 0.6173 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.6085, allocations: 1.388 MB / 0.6187 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.609, allocations: 0.9422 MB / 0.6196 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005982/0.6096, allocations: 214.1 kB / 0.6198 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.6098, allocations: 63.38 kB / 0.6199 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.6098, allocations: 0 / 0.6199 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.02592/0.6357, allocations: 15.5 MB / 0.635 GB, free: 360 kB / 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)