Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001303/0.001303, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.685/1.685, allocations: 205.1 MB / 222 MB, free: 4.809 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.3506/0.3506, allocations: 37.98 MB / 307.3 MB, free: 10.01 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.00138/0.00138, allocations: 68.27 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.137, allocations: 56.46 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02117/0.1582, allocations: 21 MB / 452 MB, free: 1.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2657/0.4239, allocations: 4.439 MB / 456.5 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.4251, allocations: 30 kB / 456.5 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.4262, allocations: 265.4 kB / 456.8 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.4282, allocations: 0.8082 MB / 457.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.4308, allocations: 0.8057 MB / 458.4 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.4334, allocations: 2.665 MB / 461 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005975/0.434, allocations: 393.9 kB / 461.4 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.4358, allocations: 0.8198 MB / 462.2 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008147/0.4366, allocations: 0.6527 MB / 462.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.544e-05/0.4367, allocations: 32.84 kB / 462.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008614/0.4376, allocations: 274.1 kB / 463.2 MB, free: 34.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.4378, allocations: 235.6 kB / 463.4 MB, free: 34.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.4382, allocations: 366.2 kB / 463.8 MB, free: 34.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009732/0.4391, allocations: 1.052 MB / 464.8 MB, free: 34.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4392, allocations: 3.656 kB / 464.8 MB, free: 34.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.4392, allocations: 0 / 464.8 MB, free: 34.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.4392, allocations: 0 / 464.8 MB, free: 34.21 MB / 382.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.001927/0.4411, allocations: 1.05 MB / 465.9 MB, free: 33.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.4411, allocations: 13.56 kB / 465.9 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.4415, allocations: 91.53 kB / 466 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.4421, allocations: 0.5059 MB / 466.5 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.4422, allocations: 99.58 kB / 466.6 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.4423, allocations: 50.5 kB / 466.6 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.4435, allocations: 0.8217 MB / 467.5 MB, free: 32.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.4435, allocations: 13.09 kB / 467.5 MB, free: 32.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.4436, allocations: 24.36 kB / 467.5 MB, free: 32.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/0.4436, allocations: 34.48 kB / 467.5 MB, free: 32.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008674/0.4445, allocations: 0.6461 MB / 468.2 MB, free: 32.97 MB / 382.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.00387/0.4484, allocations: 4.215 MB / 472.4 MB, free: 30.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.4492, allocations: 414 kB / 472.8 MB, free: 30.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.4495, allocations: 210.6 kB / 473 MB, free: 30.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.45, allocations: 0.5012 MB / 473.5 MB, free: 29.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.45, allocations: 44.06 kB / 473.5 MB, free: 29.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.45, allocations: 0 / 473.5 MB, free: 29.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003044/0.4531, allocations: 1.52 MB / 475.1 MB, free: 28.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4531, allocations: 134.5 kB / 475.2 MB, free: 28.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005841/0.4537, allocations: 0.573 MB / 475.8 MB, free: 28.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.4538, allocations: 40.83 kB / 475.8 MB, free: 28.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.454, allocations: 353.2 kB / 476.2 MB, free: 27.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.4541, allocations: 167.1 kB / 476.3 MB, free: 27.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.4543, allocations: 132.9 kB / 476.4 MB, free: 27.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4544, allocations: 382.7 kB / 476.8 MB, free: 27.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.4547, allocations: 223.1 kB / 477 MB, free: 27.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.4552, allocations: 0.5219 MB / 477.6 MB, free: 26.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.456, allocations: 0.7768 MB / 478.3 MB, free: 26.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.456, allocations: 3.156 kB / 478.3 MB, free: 26.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00155/0.4576, allocations: 0.9407 MB / 479.3 MB, free: 25.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4576, allocations: 13.47 kB / 479.3 MB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4577, allocations: 9.375 kB / 479.3 MB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4587, allocations: 264.8 kB / 479.6 MB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.4592, allocations: 128.1 kB / 479.7 MB, free: 25.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007966/0.46, allocations: 0.8625 MB / 480.5 MB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.4605, allocations: 45.23 kB / 480.6 MB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.4606, allocations: 36.66 kB / 480.6 MB, free: 25.01 MB / 382.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.0003093/0.4609, allocations: 250.7 kB / 480.9 MB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.461, allocations: 67.12 kB / 480.9 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.4622, allocations: 0.7202 MB / 481.7 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.4623, allocations: 3.031 kB / 481.7 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4623, allocations: 3.094 kB / 481.7 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.4623, allocations: 3.469 kB / 481.7 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.4642, allocations: 1.4 MB / 483.1 MB, free: 23.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4642, allocations: 0 / 483.1 MB, free: 23.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/0.4651, allocations: 195.5 kB / 483.3 MB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/0.4653, allocations: 58.81 kB / 483.3 MB, free: 23.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.4654, allocations: 13.27 kB / 483.3 MB, free: 23.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.467, allocations: 2.792 MB / 486.1 MB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.467, allocations: 0 / 486.1 MB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.4683, allocations: 0.9975 MB / 487.1 MB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.4686, allocations: 201.4 kB / 487.3 MB, free: 20.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.4687, allocations: 14.12 kB / 487.3 MB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.4691, allocations: 35.19 kB / 487.4 MB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.4692, allocations: 39 kB / 487.4 MB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.4692, allocations: 21.48 kB / 487.4 MB, free: 20.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004783/0.4697, allocations: 420.6 kB / 487.8 MB, free: 19.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4697, allocations: 4 kB / 487.8 MB, free: 19.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008632/0.4706, allocations: 203.6 kB / 488 MB, free: 19.94 MB / 382.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.0005477/0.4712, allocations: 236.3 kB / 488.3 MB, free: 19.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.4722, allocations: 0.6071 MB / 488.9 MB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4722, allocations: 0 / 488.9 MB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.4733, allocations: 487.6 kB / 489.4 MB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.4749, allocations: 357.9 kB / 489.7 MB, free: 19.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.4768, allocations: 1.624 MB / 491.3 MB, free: 18.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.4772, allocations: 0.9366 MB / 492.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007063/0.4779, allocations: 212.5 kB / 492.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.4781, allocations: 63.2 kB / 492.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4781, allocations: 0 / 492.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of Templates: time 0.03357/0.5117, allocations: 14.51 MB / 0.4952 GB, free: 15 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)