Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002599/0.002606, allocations: 353.8 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.545/3.545, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003625/0.003624, allocations: 217.2 kB / 397.9 MB, free: 4.984 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.4847/0.4847, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.0006346, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09266, allocations: 48.71 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.3668/0.4595, allocations: 18.98 MB / 0.6253 GB, free: 82.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008507/0.4681, allocations: 4.128 MB / 0.6293 GB, free: 79.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.4695, allocations: 31.41 kB / 0.6294 GB, free: 79.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.4707, allocations: 239.3 kB / 0.6296 GB, free: 79.04 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.003531/0.4743, allocations: 0.841 MB / 0.6304 GB, free: 78.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003367/0.4777, allocations: 0.6881 MB / 0.6311 GB, free: 78.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.4816, allocations: 2.187 MB / 0.6332 GB, free: 77.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.4827, allocations: 372.7 kB / 0.6336 GB, free: 77.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.4854, allocations: 0.7421 MB / 0.6343 GB, free: 77.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.4873, allocations: 0.6193 MB / 0.6349 GB, free: 76.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.4876, allocations: 30.06 kB / 0.6349 GB, free: 76.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.4889, allocations: 201.2 kB / 0.6351 GB, free: 76.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004397/0.4894, allocations: 226.3 kB / 0.6353 GB, free: 76.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.4898, allocations: 168.3 kB / 0.6355 GB, free: 76.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.4914, allocations: 0.7618 MB / 0.6362 GB, free: 76.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4914, allocations: 2.25 kB / 0.6362 GB, free: 76.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4914, allocations: 0.875 kB / 0.6362 GB, free: 76.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.4915, allocations: 1.344 kB / 0.6362 GB, free: 76.45 MB / 362.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.003179/0.4947, allocations: 0.9243 MB / 0.6371 GB, free: 75.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4947, allocations: 12.69 kB / 0.6372 GB, free: 75.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.4953, allocations: 86.06 kB / 0.6372 GB, free: 75.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4966, allocations: 0.493 MB / 0.6377 GB, free: 75.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4968, allocations: 105.8 kB / 0.6378 GB, free: 75.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.4969, allocations: 48.09 kB / 0.6379 GB, free: 75.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.4989, allocations: 0.8176 MB / 0.6387 GB, free: 74.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.499, allocations: 5.719 kB / 0.6387 GB, free: 74.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.4991, allocations: 27.39 kB / 0.6387 GB, free: 74.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.4992, allocations: 43.27 kB / 0.6387 GB, free: 74.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.5012, allocations: 0.6368 MB / 0.6394 GB, free: 74.56 MB / 362.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.006881/0.5081, allocations: 4.2 MB / 0.6435 GB, free: 70.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.5094, allocations: 404.2 kB / 0.6438 GB, free: 70.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.51, allocations: 205 kB / 0.644 GB, free: 70.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/0.5105, allocations: 0.506 MB / 0.6445 GB, free: 69.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.5106, allocations: 37.86 kB / 0.6446 GB, free: 69.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.905e-06/0.5106, allocations: 0 / 0.6446 GB, free: 69.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.00499/0.5156, allocations: 1.51 MB / 0.646 GB, free: 68.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.5157, allocations: 131.4 kB / 0.6462 GB, free: 68.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/0.5167, allocations: 0.5477 MB / 0.6467 GB, free: 68.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.5168, allocations: 40.52 kB / 0.6467 GB, free: 68.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.5171, allocations: 368.6 kB / 0.6471 GB, free: 68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.5173, allocations: 163 kB / 0.6472 GB, free: 67.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.5174, allocations: 15.06 kB / 0.6473 GB, free: 67.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5175, allocations: 379.5 kB / 0.6476 GB, free: 67.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.5181, allocations: 223.4 kB / 0.6478 GB, free: 67.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/0.5189, allocations: 0.5404 MB / 0.6484 GB, free: 66.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.5197, allocations: 325.2 kB / 0.6487 GB, free: 66.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.5197, allocations: 2.75 kB / 0.6487 GB, free: 66.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003194/0.5229, allocations: 0.9837 MB / 0.6496 GB, free: 66.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.523, allocations: 12.77 kB / 0.6497 GB, free: 66.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.523, allocations: 10.16 kB / 0.6497 GB, free: 66.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/0.5248, allocations: 261 kB / 0.6499 GB, free: 66.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/0.5257, allocations: 128.1 kB / 0.65 GB, free: 65.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.5269, allocations: 0.8605 MB / 0.6509 GB, free: 65.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.528, allocations: 36.7 kB / 0.6509 GB, free: 65.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.5282, allocations: 37.84 kB / 0.6509 GB, free: 65.25 MB / 362.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.0005211/0.5287, allocations: 260.9 kB / 0.6512 GB, free: 65.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.5289, allocations: 71.84 kB / 0.6513 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.5309, allocations: 0.7017 MB / 0.6519 GB, free: 64.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5309, allocations: 10.17 kB / 0.652 GB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5309, allocations: 0 / 0.652 GB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.5314, allocations: 192.8 kB / 0.6521 GB, free: 64.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.5316, allocations: 15.48 kB / 0.6522 GB, free: 64.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.5323, allocations: 27.52 kB / 0.6522 GB, free: 64.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5324, allocations: 32.05 kB / 0.6522 GB, free: 64.36 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002883/0.5353, allocations: 0.7179 MB / 0.6529 GB, free: 63.93 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002134/0.5375, allocations: 0.9512 MB / 0.6538 GB, free: 63.32 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005525/0.5381, allocations: 231.3 kB / 0.6541 GB, free: 63.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000716/0.5388, allocations: 379.4 kB / 0.6544 GB, free: 62.98 MB / 362.7 MB Notification: Performance of Backend: time 4.4e-07/0.5388, allocations: 0 / 0.6544 GB, free: 62.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002911/0.5417, allocations: 0.6393 MB / 0.655 GB, free: 62.66 MB / 362.7 MB Notification: Performance of SimCode: time 0.004366/0.5462, allocations: 2.098 MB / 0.6571 GB, free: 60.61 MB / 362.7 MB Notification: Performance of Templates: time 0.03213/0.5784, allocations: 12.3 MB / 0.6691 GB, free: 48.65 MB / 362.7 MB