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.001636/0.001636, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001953/0.001953, allocations: 198.2 kB / 16.26 MB, free: 6.625 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.577/1.577, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3665/0.3665, allocations: 39.94 MB / 309.4 MB, free: 9.246 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.002157/0.002157, allocations: 71.89 kB / 377.1 MB, free: 12.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1426, allocations: 56.87 MB / 434 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2417/0.3844, allocations: 44.6 MB / 478.6 MB, free: 28.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005383/0.3898, allocations: 4.449 MB / 483.1 MB, free: 25.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007111/0.3906, allocations: 30.88 kB / 483.1 MB, free: 25.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008742/0.3915, allocations: 282 kB / 483.4 MB, free: 24.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.3933, allocations: 0.7986 MB / 484.2 MB, free: 24.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.3954, allocations: 0.8177 MB / 485 MB, free: 23.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.3971, allocations: 1.801 MB / 486.8 MB, free: 23.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/0.3976, allocations: 465.7 kB / 487.2 MB, free: 23.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.07426/0.4719, allocations: 43.95 MB / 0.5187 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01385/0.4858, allocations: 7.993 MB / 0.5265 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.4861, allocations: 64 kB / 0.5266 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01882/0.5049, allocations: 10.69 MB / 0.537 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005565/0.5055, allocations: 267.2 kB / 0.5373 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005655/0.5061, allocations: 390.2 kB / 0.5377 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.5074, allocations: 1.071 MB / 0.5387 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5074, allocations: 8 kB / 0.5387 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5074, allocations: 0 / 0.5387 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.5075, allocations: 0 / 0.5387 GB, free: 13.29 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.001998/0.5095, allocations: 1.055 MB / 0.5397 GB, free: 12.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.5095, allocations: 8.031 kB / 0.5398 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.5098, allocations: 91.98 kB / 0.5398 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.5105, allocations: 0.4977 MB / 0.5403 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.5106, allocations: 105 kB / 0.5404 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.5108, allocations: 52.28 kB / 0.5405 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.5119, allocations: 0.8252 MB / 0.5413 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5119, allocations: 0 / 0.5413 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.512, allocations: 27.94 kB / 0.5413 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.5121, allocations: 38.55 kB / 0.5413 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.513, allocations: 0.6516 MB / 0.542 GB, free: 9.773 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.004982/0.518, allocations: 4.209 MB / 0.5461 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/0.519, allocations: 414.2 kB / 0.5465 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.5193, allocations: 221.3 kB / 0.5467 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/0.5198, allocations: 0.4951 MB / 0.5472 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.5199, allocations: 47.09 kB / 0.5472 GB, free: 3.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.5199, allocations: 0 / 0.5472 GB, free: 3.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003197/0.5231, allocations: 1.529 MB / 0.5487 GB, free: 2.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.5232, allocations: 136.5 kB / 0.5489 GB, free: 2.238 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.5238, allocations: 0.5655 MB / 0.5494 GB, free: 1.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.5238, allocations: 37.7 kB / 0.5494 GB, free: 1.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.5241, allocations: 354.9 kB / 0.5498 GB, free: 1.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.5242, allocations: 165.7 kB / 0.5499 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.5244, allocations: 138.5 kB / 0.5501 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5246, allocations: 382.7 kB / 0.5504 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.525, allocations: 221.9 kB / 0.5506 GB, free: 372 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.5255, allocations: 0.5178 MB / 0.5511 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.5265, allocations: 0.7796 MB / 0.5519 GB, free: 14.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5265, allocations: 4 kB / 0.5519 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001665/0.5281, allocations: 0.9375 MB / 0.5528 GB, free: 13.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5282, allocations: 15.98 kB / 0.5528 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5282, allocations: 12.12 kB / 0.5529 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.5293, allocations: 260.6 kB / 0.5531 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.5297, allocations: 123.8 kB / 0.5532 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009095/0.5306, allocations: 0.8645 MB / 0.5541 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.5311, allocations: 39.98 kB / 0.5541 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.5312, allocations: 42 kB / 0.5541 GB, free: 12.48 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.0002919/0.5315, allocations: 250.6 kB / 0.5544 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5316, allocations: 67.16 kB / 0.5544 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.5328, allocations: 0.7182 MB / 0.5552 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5329, allocations: 4.875 kB / 0.5552 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5329, allocations: 0 / 0.5552 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5329, allocations: 8.016 kB / 0.5552 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.5349, allocations: 1.403 MB / 0.5565 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5349, allocations: 3.938 kB / 0.5565 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/0.5358, allocations: 195.9 kB / 0.5567 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/0.536, allocations: 60.48 kB / 0.5568 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.5361, allocations: 15.98 kB / 0.5568 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.5383, allocations: 2.979 MB / 0.5597 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5383, allocations: 4.031 kB / 0.5597 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.5398, allocations: 1.003 MB / 0.5607 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.54, allocations: 196.3 kB / 0.5609 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5401, allocations: 12 kB / 0.5609 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.5405, allocations: 31.95 kB / 0.5609 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.5406, allocations: 39.89 kB / 0.561 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.5407, allocations: 23.92 kB / 0.561 GB, free: 5.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004308/0.5411, allocations: 423 kB / 0.5614 GB, free: 4.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5411, allocations: 4 kB / 0.5614 GB, free: 4.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007166/0.5418, allocations: 203.9 kB / 0.5616 GB, free: 4.426 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.0004615/0.5423, allocations: 231.8 kB / 0.5618 GB, free: 4.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.5435, allocations: 0.6633 MB / 0.5624 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5435, allocations: 0 / 0.5624 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.5446, allocations: 486.7 kB / 0.5629 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.5462, allocations: 374.5 kB / 0.5633 GB, free: 2.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.5483, allocations: 1.641 MB / 0.5649 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.5488, allocations: 0.9384 MB / 0.5658 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006771/0.5495, allocations: 219.2 kB / 0.566 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5497, allocations: 59.44 kB / 0.5661 GB, free: 15.79 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5497, allocations: 3.938 kB / 0.5661 GB, free: 15.78 MB / 446.1 MB Notification: Performance of Templates: time 0.02357/0.5733, allocations: 15.05 MB / 0.5808 GB, free: 0.7617 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (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)