Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001603/0.001603, allocations: 168.7 kB / 15.95 MB, free: 204 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.643/1.643, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.4469/0.4469, allocations: 40 MB / 310.4 MB, free: 10.14 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.0006279/0.0006282, allocations: 16 kB / 378.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1602, allocations: 57.96 MB / 436.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3253/0.4855, allocations: 28.16 MB / 465 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006992/0.4926, allocations: 4.413 MB / 469.4 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009508/0.4935, allocations: 29.53 kB / 469.4 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008721/0.4944, allocations: 236.8 kB / 469.6 MB, free: 34.53 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004358/0.4988, allocations: 1.559 MB / 471.2 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.502, allocations: 1.212 MB / 472.4 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.5046, allocations: 2.25 MB / 474.7 MB, free: 33.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.5051, allocations: 402.9 kB / 475.1 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005426/0.5106, allocations: 3.183 MB / 478.2 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.5126, allocations: 1.33 MB / 479.6 MB, free: 32.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.5127, allocations: 29.19 kB / 479.6 MB, free: 32.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.5156, allocations: 1.286 MB / 480.9 MB, free: 32.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.5159, allocations: 234.5 kB / 481.1 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.5162, allocations: 166.4 kB / 481.3 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.5176, allocations: 1.051 MB / 482.3 MB, free: 32.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5176, allocations: 3.062 kB / 482.3 MB, free: 32.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5176, allocations: 0 / 482.3 MB, free: 32.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.5176, allocations: 0 / 482.3 MB, free: 32.27 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001964/0.5196, allocations: 1.007 MB / 483.3 MB, free: 31.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5196, allocations: 13.78 kB / 483.4 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/0.5206, allocations: 142.2 kB / 483.5 MB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.5213, allocations: 0.4985 MB / 484 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.851e-05/0.5214, allocations: 103.7 kB / 484.1 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.5215, allocations: 51.98 kB / 484.1 MB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.5227, allocations: 0.8369 MB / 485 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.5228, allocations: 0 / 485 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.5229, allocations: 23.81 kB / 485 MB, free: 30.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.789e-05/0.5229, allocations: 41.5 kB / 485 MB, free: 30.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/0.5239, allocations: 0.6082 MB / 485.7 MB, free: 30.39 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.004155/0.5281, allocations: 4.893 MB / 490.5 MB, free: 26.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.5287, allocations: 325.9 kB / 490.9 MB, free: 26.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.5289, allocations: 141.6 kB / 491 MB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.5293, allocations: 0.6146 MB / 491.6 MB, free: 25.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.5293, allocations: 42.08 kB / 491.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.5293, allocations: 0 / 491.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003798/0.5331, allocations: 1.529 MB / 493.2 MB, free: 24.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.5332, allocations: 136.1 kB / 493.3 MB, free: 24.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008915/0.5341, allocations: 0.6515 MB / 494 MB, free: 24.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.5342, allocations: 33.17 kB / 494 MB, free: 24.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.5345, allocations: 390.8 kB / 494.4 MB, free: 23.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.5346, allocations: 137.3 kB / 494.5 MB, free: 23.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.5346, allocations: 11.06 kB / 494.5 MB, free: 23.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5348, allocations: 376.9 kB / 494.9 MB, free: 23.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.5352, allocations: 204.2 kB / 495.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.5357, allocations: 0.4939 MB / 495.6 MB, free: 22.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.5362, allocations: 293.5 kB / 495.9 MB, free: 22.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5362, allocations: 2.875 kB / 495.9 MB, free: 22.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001554/0.5377, allocations: 0.8617 MB / 496.7 MB, free: 22.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.5378, allocations: 13.02 kB / 496.8 MB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.5378, allocations: 13.64 kB / 496.8 MB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.5392, allocations: 295.3 kB / 497.1 MB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.5396, allocations: 127.9 kB / 497.2 MB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.5407, allocations: 1.406 MB / 498.6 MB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.5412, allocations: 31.56 kB / 498.6 MB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.5413, allocations: 52.69 kB / 498.7 MB, free: 20.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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003479/0.5416, allocations: 254.3 kB / 498.9 MB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.5418, allocations: 70.91 kB / 499 MB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.5434, allocations: 0.6505 MB / 499.6 MB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5434, allocations: 3.688 kB / 499.6 MB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5435, allocations: 0.8906 kB / 499.6 MB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.5435, allocations: 1.828 kB / 499.6 MB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.5455, allocations: 1.217 MB / 0.4891 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5456, allocations: 2.094 kB / 0.4891 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.5457, allocations: 45.11 kB / 0.4892 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008695/0.5466, allocations: 204.7 kB / 0.4894 GB, free: 19.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.5467, allocations: 14.41 kB / 0.4894 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008745/0.5475, allocations: 1.306 MB / 0.4907 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5476, allocations: 1.094 kB / 0.4907 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5488, allocations: 0.8082 MB / 0.4914 GB, free: 18.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.5491, allocations: 196.9 kB / 0.4916 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.5492, allocations: 11.31 kB / 0.4916 GB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.5496, allocations: 22.91 kB / 0.4917 GB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.5497, allocations: 22.66 kB / 0.4917 GB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.5497, allocations: 24.75 kB / 0.4917 GB, free: 17.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006725/0.5504, allocations: 453.2 kB / 0.4921 GB, free: 17.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5504, allocations: 0 / 0.4921 GB, free: 17.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001267/0.5517, allocations: 292.8 kB / 0.4924 GB, free: 17.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000849/0.5526, allocations: 360.6 kB / 0.4928 GB, free: 17.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.5537, allocations: 0.5091 MB / 0.4933 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5537, allocations: 0.8125 kB / 0.4933 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.5543, allocations: 225.6 kB / 0.4935 GB, free: 17.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.5558, allocations: 308.1 kB / 0.4938 GB, free: 17.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.5582, allocations: 1.484 MB / 0.4952 GB, free: 16.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.5587, allocations: 0.9339 MB / 0.4961 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007777/0.5595, allocations: 201.3 kB / 0.4963 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.5596, allocations: 60 kB / 0.4964 GB, free: 15.58 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5596, allocations: 0 / 0.4964 GB, free: 15.58 MB / 382.1 MB Notification: Performance of Templates: time 0.02788/0.5875, allocations: 14.83 MB / 0.5109 GB, free: 9.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) Environment - environmentSimulation: