Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002554/0.002559, allocations: 348.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.554/3.554, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003545/0.003545, allocations: 233.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5726/0.5726, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006861/0.0006865, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08865/0.08937, allocations: 48.71 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.361/0.4504, allocations: 40.97 MB / 0.6468 GB, free: 66.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008316/0.4588, allocations: 4.207 MB / 0.6509 GB, free: 63.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.4601, allocations: 24.78 kB / 0.6509 GB, free: 63.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.4613, allocations: 246.8 kB / 0.6511 GB, free: 63.6 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.003176/0.4645, allocations: 0.8414 MB / 0.652 GB, free: 62.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.4676, allocations: 0.6938 MB / 0.6526 GB, free: 62.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.4709, allocations: 2.18 MB / 0.6548 GB, free: 61.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.4719, allocations: 380.3 kB / 0.6551 GB, free: 60.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1881/0.66, allocations: 72.02 MB / 0.7255 GB, free: 7.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03646/0.6965, allocations: 13.64 MB / 0.7388 GB, free: 9.938 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.6968, allocations: 32 kB / 0.7388 GB, free: 9.906 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04802/0.7449, allocations: 18.36 MB / 0.7567 GB, free: 7.539 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006369/0.7456, allocations: 227.3 kB / 0.757 GB, free: 7.316 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.746, allocations: 161.4 kB / 0.7571 GB, free: 7.152 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.7475, allocations: 0.7676 MB / 0.7579 GB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7476, allocations: 0 / 0.7579 GB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7476, allocations: 0 / 0.7579 GB, free: 6.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.7476, allocations: 0 / 0.7579 GB, free: 6.383 MB / 410.7 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.00307/0.7507, allocations: 0.9226 MB / 0.7588 GB, free: 5.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.7508, allocations: 8.031 kB / 0.7588 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/0.7513, allocations: 91.14 kB / 0.7589 GB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.7526, allocations: 0.4926 MB / 0.7593 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.7528, allocations: 108.3 kB / 0.7594 GB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.753, allocations: 47.98 kB / 0.7595 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.7551, allocations: 0.8143 MB / 0.7603 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.7551, allocations: 3.375 kB / 0.7603 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.7553, allocations: 24 kB / 0.7603 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.7554, allocations: 40.92 kB / 0.7603 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.7573, allocations: 0.6439 MB / 0.761 GB, free: 3.027 MB / 410.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.3259/1.083, allocations: 4.185 MB / 0.7651 GB, free: 134.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.085, allocations: 410.4 kB / 0.7655 GB, free: 134.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/1.085, allocations: 204.2 kB / 0.7656 GB, free: 134.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/1.086, allocations: 0.5027 MB / 0.7661 GB, free: 134.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.086, allocations: 41.06 kB / 0.7662 GB, free: 134.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.877e-06/1.086, allocations: 0 / 0.7662 GB, free: 134.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.005372/1.091, allocations: 1.504 MB / 0.7676 GB, free: 133.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/1.091, allocations: 135.5 kB / 0.7678 GB, free: 133.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.093, allocations: 0.5531 MB / 0.7683 GB, free: 133.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/1.093, allocations: 37.55 kB / 0.7684 GB, free: 133.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/1.093, allocations: 364.1 kB / 0.7687 GB, free: 133.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/1.093, allocations: 168.8 kB / 0.7689 GB, free: 133.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/1.093, allocations: 12.28 kB / 0.7689 GB, free: 133.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/1.093, allocations: 379.5 kB / 0.7692 GB, free: 133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/1.094, allocations: 219.1 kB / 0.7694 GB, free: 133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/1.095, allocations: 0.5429 MB / 0.77 GB, free: 132.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/1.096, allocations: 320.8 kB / 0.7703 GB, free: 132.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/1.096, allocations: 6.969 kB / 0.7703 GB, free: 132.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00326/1.099, allocations: 0.9718 MB / 0.7712 GB, free: 132.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/1.099, allocations: 16.22 kB / 0.7713 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.099, allocations: 10.31 kB / 0.7713 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/1.101, allocations: 258.7 kB / 0.7715 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/1.102, allocations: 137.7 kB / 0.7716 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/1.103, allocations: 0.8591 MB / 0.7725 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.105, allocations: 46.39 kB / 0.7725 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.105, allocations: 37.02 kB / 0.7726 GB, free: 131.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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.0005183/1.105, allocations: 256.1 kB / 0.7728 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/1.105, allocations: 63.25 kB / 0.7729 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/1.107, allocations: 0.7047 MB / 0.7735 GB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.108, allocations: 2.484 kB / 0.7736 GB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.108, allocations: 0 / 0.7736 GB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/1.108, allocations: 192.9 kB / 0.7737 GB, free: 131.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/1.108, allocations: 15.28 kB / 0.7738 GB, free: 131.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/1.109, allocations: 34.78 kB / 0.7738 GB, free: 131.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.109, allocations: 34.86 kB / 0.7738 GB, free: 131.2 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00295/1.112, allocations: 0.7099 MB / 0.7745 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002183/1.114, allocations: 0.9501 MB / 0.7754 GB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005997/1.115, allocations: 231.5 kB / 0.7757 GB, free: 130.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007585/1.116, allocations: 379.8 kB / 0.776 GB, free: 130.1 MB / 410.7 MB Notification: Performance of Backend: time 6.11e-07/1.116, allocations: 1.094 kB / 0.776 GB, free: 130.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002782/1.118, allocations: 0.6421 MB / 0.7766 GB, free: 129.9 MB / 410.7 MB Notification: Performance of SimCode: time 0.004557/1.123, allocations: 2.095 MB / 0.7787 GB, free: 128.6 MB / 410.7 MB Notification: Performance of Templates: time 0.03834/1.161, allocations: 12.3 MB / 0.7907 GB, free: 125.2 MB / 410.7 MB