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.001791/0.001791, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.65/1.65, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.4143/0.4143, allocations: 39.94 MB / 309.7 MB, free: 9.27 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.00142/0.00142, allocations: 69.94 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1419, allocations: 56.88 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2552/0.3972, allocations: 43.97 MB / 478.5 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005798/0.403, allocations: 4.371 MB / 482.8 MB, free: 25.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000882/0.404, allocations: 25 kB / 482.9 MB, free: 25.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009588/0.405, allocations: 312.5 kB / 483.2 MB, free: 25.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.4071, allocations: 0.8373 MB / 484 MB, free: 24.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.41, allocations: 0.9055 MB / 484.9 MB, free: 24.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.4126, allocations: 1.788 MB / 486.7 MB, free: 23.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.4134, allocations: 458.5 kB / 487.1 MB, free: 23.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1015/0.5148, allocations: 44.5 MB / 0.5192 GB, free: 152 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01727/0.5321, allocations: 7.942 MB / 0.5269 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.5324, allocations: 60 kB / 0.527 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02505/0.5575, allocations: 10.68 MB / 0.5374 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.5582, allocations: 259.3 kB / 0.5377 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008295/0.5591, allocations: 390.2 kB / 0.5381 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.5607, allocations: 1.075 MB / 0.5391 GB, free: 12.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5607, allocations: 0 / 0.5391 GB, free: 12.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5607, allocations: 4 kB / 0.5391 GB, free: 12.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.5607, allocations: 0 / 0.5391 GB, free: 12.78 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.002299/0.5631, allocations: 1.058 MB / 0.5401 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5631, allocations: 12.03 kB / 0.5402 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.5635, allocations: 88.08 kB / 0.5402 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.5642, allocations: 0.4937 MB / 0.5407 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.5643, allocations: 108.9 kB / 0.5408 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.5644, allocations: 52.38 kB / 0.5409 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.5656, allocations: 0.8213 MB / 0.5417 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5656, allocations: 0 / 0.5417 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-05/0.5657, allocations: 27.98 kB / 0.5417 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/0.5658, allocations: 36.98 kB / 0.5417 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.5668, allocations: 0.6516 MB / 0.5424 GB, free: 9.266 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.004968/0.5718, allocations: 4.227 MB / 0.5465 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.5726, allocations: 415.7 kB / 0.5469 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.573, allocations: 213.3 kB / 0.5471 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/0.5736, allocations: 0.5029 MB / 0.5476 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.5736, allocations: 43.16 kB / 0.5476 GB, free: 3.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.5736, allocations: 0 / 0.5476 GB, free: 3.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003072/0.5767, allocations: 1.518 MB / 0.5491 GB, free: 1.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.5768, allocations: 136.5 kB / 0.5492 GB, free: 1.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006153/0.5774, allocations: 0.5654 MB / 0.5498 GB, free: 1.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.5774, allocations: 41.64 kB / 0.5498 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.5777, allocations: 351 kB / 0.5502 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.5778, allocations: 169.7 kB / 0.5503 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.578, allocations: 138.5 kB / 0.5505 GB, free: 464 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5782, allocations: 378.7 kB / 0.5508 GB, free: 76 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.5785, allocations: 229.8 kB / 0.551 GB, free: 15.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.5791, allocations: 0.5201 MB / 0.5516 GB, free: 15.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.5801, allocations: 0.7757 MB / 0.5523 GB, free: 14.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5801, allocations: 4 kB / 0.5523 GB, free: 14.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00177/0.5819, allocations: 0.9415 MB / 0.5532 GB, free: 13.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.5819, allocations: 8 kB / 0.5532 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5819, allocations: 9.328 kB / 0.5532 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.583, allocations: 260.8 kB / 0.5535 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.5834, allocations: 139.1 kB / 0.5536 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009087/0.5844, allocations: 0.8637 MB / 0.5545 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.5848, allocations: 27.98 kB / 0.5545 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.5849, allocations: 32 kB / 0.5545 GB, free: 11.98 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.0003156/0.5852, allocations: 257.5 kB / 0.5548 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5853, allocations: 63.25 kB / 0.5548 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.5866, allocations: 0.7037 MB / 0.5555 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5867, allocations: 8 kB / 0.5555 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5867, allocations: 0 / 0.5555 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.5867, allocations: 3.984 kB / 0.5555 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.5887, allocations: 1.403 MB / 0.5569 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.5887, allocations: 11.92 kB / 0.5569 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/0.5897, allocations: 192 kB / 0.5571 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.59, allocations: 60.8 kB / 0.5572 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.59, allocations: 8 kB / 0.5572 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.5923, allocations: 2.992 MB / 0.5601 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5923, allocations: 4.031 kB / 0.5601 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.5938, allocations: 0.9996 MB / 0.5611 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.5941, allocations: 192.2 kB / 0.5613 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.5942, allocations: 16 kB / 0.5613 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.5946, allocations: 23.92 kB / 0.5613 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.5947, allocations: 39.95 kB / 0.5613 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.5947, allocations: 19.98 kB / 0.5613 GB, free: 4.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004932/0.5952, allocations: 423 kB / 0.5618 GB, free: 4.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.5952, allocations: 0 / 0.5618 GB, free: 4.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007362/0.596, allocations: 207.9 kB / 0.5619 GB, free: 3.934 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.0004159/0.5964, allocations: 233.8 kB / 0.5622 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.5977, allocations: 0.6672 MB / 0.5628 GB, free: 3.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5977, allocations: 4 kB / 0.5628 GB, free: 3.039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.5989, allocations: 482.3 kB / 0.5633 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.6005, allocations: 382.5 kB / 0.5637 GB, free: 2.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.6028, allocations: 1.413 MB / 0.565 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.6034, allocations: 0.9346 MB / 0.5659 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007161/0.6041, allocations: 214.2 kB / 0.5661 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.6043, allocations: 63.38 kB / 0.5662 GB, free: 15.51 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6043, allocations: 0 / 0.5662 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Templates: time 0.02568/0.63, allocations: 15.12 MB / 0.581 GB, free: 428 kB / 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)