Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003961/0.003961, allocations: 370.5 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.086/4.086, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003577/0.003577, allocations: 239 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5058/0.5058, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007666/0.000767, allocations: 19.86 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1162, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03753/0.1538, allocations: 27.02 MB / 0.7065 GB, free: 14.56 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008388/0.1622, allocations: 4.335 MB / 0.7107 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.1634, allocations: 23.81 kB / 0.7107 GB, free: 10.19 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.1645, allocations: 222.6 kB / 0.711 GB, free: 9.973 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005365/0.1699, allocations: 1.577 MB / 0.7125 GB, free: 8.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.1741, allocations: 1.209 MB / 0.7137 GB, free: 7.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003046/0.1772, allocations: 2.234 MB / 0.7159 GB, free: 4.961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008334/0.1781, allocations: 393.2 kB / 0.7162 GB, free: 4.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007336/0.1854, allocations: 3.145 MB / 0.7193 GB, free: 1.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3635/0.549, allocations: 1.299 MB / 0.7206 GB, free: 16.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.5493, allocations: 30.78 kB / 0.7206 GB, free: 16.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/0.5533, allocations: 1.365 MB / 0.7219 GB, free: 16.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000585/0.5539, allocations: 230.9 kB / 0.7222 GB, free: 16.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.5544, allocations: 167.2 kB / 0.7223 GB, free: 16.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.557, allocations: 1.056 MB / 0.7234 GB, free: 16.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.557, allocations: 0 / 0.7234 GB, free: 16.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.557, allocations: 3.328 kB / 0.7234 GB, free: 16.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.505e-05/0.5571, allocations: 0 / 0.7234 GB, free: 16.3 MB / 346.7 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.003134/0.5602, allocations: 1.008 MB / 0.7243 GB, free: 15.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5603, allocations: 9.203 kB / 0.7243 GB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.5617, allocations: 135.6 kB / 0.7245 GB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.5632, allocations: 0.5013 MB / 0.725 GB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.5634, allocations: 104.3 kB / 0.7251 GB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.5635, allocations: 56.78 kB / 0.7251 GB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.5657, allocations: 0.8262 MB / 0.7259 GB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.5658, allocations: 5.625 kB / 0.7259 GB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.5659, allocations: 21.41 kB / 0.726 GB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-05/0.5661, allocations: 44.11 kB / 0.726 GB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.5682, allocations: 0.5987 MB / 0.7266 GB, free: 15.18 MB / 346.7 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.007273/0.5755, allocations: 4.88 MB / 0.7313 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.5766, allocations: 324.6 kB / 0.7317 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.577, allocations: 134.7 kB / 0.7318 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.5776, allocations: 0.6087 MB / 0.7324 GB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.5776, allocations: 44.44 kB / 0.7324 GB, free: 10.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.925e-06/0.5776, allocations: 0 / 0.7324 GB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.005924/0.5835, allocations: 1.484 MB / 0.7339 GB, free: 10.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.5836, allocations: 137 kB / 0.734 GB, free: 10.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.5848, allocations: 0.637 MB / 0.7346 GB, free: 10.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5849, allocations: 32.48 kB / 0.7347 GB, free: 10.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.5853, allocations: 409 kB / 0.735 GB, free: 9.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.5854, allocations: 133.8 kB / 0.7352 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.5855, allocations: 12.44 kB / 0.7352 GB, free: 9.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5856, allocations: 377.4 kB / 0.7355 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.5862, allocations: 206.9 kB / 0.7357 GB, free: 9.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.587, allocations: 0.531 MB / 0.7363 GB, free: 8.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.5877, allocations: 301.5 kB / 0.7365 GB, free: 8.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.5878, allocations: 4 kB / 0.7365 GB, free: 8.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002376/0.5902, allocations: 0.8828 MB / 0.7374 GB, free: 8.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.5902, allocations: 9.625 kB / 0.7374 GB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.5903, allocations: 15.47 kB / 0.7374 GB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.5923, allocations: 290.9 kB / 0.7377 GB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/0.5932, allocations: 131.5 kB / 0.7378 GB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.5947, allocations: 1.378 MB / 0.7392 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.5957, allocations: 32.75 kB / 0.7392 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5958, allocations: 50.09 kB / 0.7393 GB, free: 7.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005161/0.5964, allocations: 253.5 kB / 0.7395 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5966, allocations: 73.27 kB / 0.7396 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.5988, allocations: 0.603 MB / 0.7402 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5988, allocations: 9.609 kB / 0.7402 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5989, allocations: 1.312 kB / 0.7402 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.5993, allocations: 194 kB / 0.7404 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.5996, allocations: 11.48 kB / 0.7404 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/0.6006, allocations: 27.05 kB / 0.7404 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.6008, allocations: 21.59 kB / 0.7404 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002704/0.6035, allocations: 0.595 MB / 0.741 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001605/0.6051, allocations: 0.7438 MB / 0.7417 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003991/0.6056, allocations: 152.8 kB / 0.7419 GB, free: 7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009198/0.6065, allocations: 436.7 kB / 0.7423 GB, free: 6.906 MB / 346.7 MB Notification: Performance of Backend: time 2.174e-06/0.6065, allocations: 0 / 0.7423 GB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.6103, allocations: 0.8294 MB / 0.7431 GB, free: 6.762 MB / 346.7 MB Notification: Performance of SimCode: time 0.004768/0.6151, allocations: 2.147 MB / 0.7452 GB, free: 5.574 MB / 346.7 MB Notification: Performance of Templates: time 0.04322/0.6584, allocations: 15.71 MB / 0.7605 GB, free: 13.82 MB / 362.7 MB