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.001566/0.001566, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001703/0.001703, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.362/0.362, allocations: 38.03 MB / 308.4 MB, free: 10.49 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.0005688/0.0005688, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01769/0.1571, allocations: 14.24 MB / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007544/0.1647, allocations: 4.068 MB / 452.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.1659, allocations: 31.69 kB / 452.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.1672, allocations: 274.6 kB / 452.5 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.1701, allocations: 0.6893 MB / 453.2 MB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.1726, allocations: 0.6937 MB / 453.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.1743, allocations: 1.024 MB / 454.9 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006362/0.175, allocations: 381.2 kB / 455.3 MB, free: 128 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3084/0.4834, allocations: 0.6306 MB / 455.9 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.4848, allocations: 425.5 kB / 456.4 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003453/0.4852, allocations: 30.16 kB / 456.4 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.4866, allocations: 243.1 kB / 456.6 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000514/0.4871, allocations: 212.1 kB / 456.8 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.4877, allocations: 166.2 kB / 457 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.4892, allocations: 0.7598 MB / 457.8 MB, free: 34.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4893, allocations: 0 / 457.8 MB, free: 34.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4893, allocations: 0 / 457.8 MB, free: 34.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.4893, allocations: 0 / 457.8 MB, free: 34.83 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.002966/0.4923, allocations: 0.9176 MB / 458.7 MB, free: 34.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4924, allocations: 10.47 kB / 458.7 MB, free: 34.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.4928, allocations: 86.75 kB / 458.8 MB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.4938, allocations: 499.6 kB / 459.3 MB, free: 33.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.4939, allocations: 108.8 kB / 459.4 MB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.494, allocations: 48.36 kB / 459.4 MB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.4952, allocations: 0.8133 MB / 460.2 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.4953, allocations: 5 kB / 460.2 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.4953, allocations: 22.19 kB / 460.3 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/0.4954, allocations: 38.34 kB / 460.3 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009022/0.4963, allocations: 0.6443 MB / 460.9 MB, free: 33.69 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.004243/0.5006, allocations: 4.236 MB / 465.2 MB, free: 30.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/0.5014, allocations: 419.4 kB / 465.6 MB, free: 30.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/0.5019, allocations: 0.5046 MB / 466.1 MB, free: 30.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.5019, allocations: 36.58 kB / 466.1 MB, free: 30.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.836e-06/0.5019, allocations: 0 / 466.1 MB, free: 30.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002742/0.5047, allocations: 1.532 MB / 467.7 MB, free: 29.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.5047, allocations: 131.8 kB / 467.8 MB, free: 29.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.5053, allocations: 0.5666 MB / 468.3 MB, free: 29.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.5054, allocations: 33.45 kB / 468.4 MB, free: 29.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.5056, allocations: 356.3 kB / 468.7 MB, free: 29.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.5057, allocations: 169.2 kB / 468.9 MB, free: 29.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.5057, allocations: 11.06 kB / 468.9 MB, free: 29.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.5058, allocations: 374.1 kB / 469.3 MB, free: 28.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.5061, allocations: 225.5 kB / 469.5 MB, free: 28.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.5067, allocations: 0.5187 MB / 470 MB, free: 28.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.5071, allocations: 307.9 kB / 470.3 MB, free: 28.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.5071, allocations: 7.109 kB / 470.3 MB, free: 28.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001622/0.5088, allocations: 0.9635 MB / 471.3 MB, free: 28.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5088, allocations: 9.656 kB / 471.3 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.5088, allocations: 9.562 kB / 471.3 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.5098, allocations: 267.9 kB / 471.6 MB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.5102, allocations: 127.5 kB / 471.7 MB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008576/0.5111, allocations: 0.8699 MB / 472.6 MB, free: 27.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.5117, allocations: 43.81 kB / 472.6 MB, free: 27.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.5117, allocations: 35.84 kB / 472.6 MB, free: 27.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003496/0.5121, allocations: 250.1 kB / 472.9 MB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.5122, allocations: 71.52 kB / 472.9 MB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.5134, allocations: 0.7122 MB / 473.7 MB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5134, allocations: 3.25 kB / 473.7 MB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5134, allocations: 3.469 kB / 473.7 MB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5134, allocations: 3.344 kB / 473.7 MB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.5153, allocations: 1.411 MB / 475.1 MB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.5153, allocations: 7.219 kB / 475.1 MB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/0.5162, allocations: 193.7 kB / 475.3 MB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002547/0.5165, allocations: 63.86 kB / 475.3 MB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.5165, allocations: 16.25 kB / 475.4 MB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.5182, allocations: 2.796 MB / 478.2 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5182, allocations: 5.484 kB / 478.2 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.5195, allocations: 1.074 MB / 479.2 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.5198, allocations: 213.7 kB / 479.4 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.5199, allocations: 16.91 kB / 479.5 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.5203, allocations: 25.55 kB / 479.5 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.5204, allocations: 38.69 kB / 479.5 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.5205, allocations: 25.06 kB / 479.5 MB, free: 24.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004319/0.5209, allocations: 389.3 kB / 479.9 MB, free: 24.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5209, allocations: 3.156 kB / 479.9 MB, free: 24.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008392/0.5217, allocations: 211.4 kB / 480.1 MB, free: 24.09 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004647/0.5222, allocations: 229.4 kB / 480.4 MB, free: 23.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.5233, allocations: 0.5992 MB / 481 MB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5233, allocations: 6.656 kB / 481 MB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5243, allocations: 489.8 kB / 481.4 MB, free: 23.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5256, allocations: 322.4 kB / 481.8 MB, free: 23.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.5276, allocations: 1.649 MB / 483.4 MB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.528, allocations: 0.9554 MB / 484.4 MB, free: 22.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006711/0.5287, allocations: 202.7 kB / 484.6 MB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.5288, allocations: 63.39 kB / 484.6 MB, free: 22.27 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5288, allocations: 0 / 484.6 MB, free: 22.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02539/0.5542, allocations: 13.43 MB / 498 MB, free: 21.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: