Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002548/0.002552, allocations: 352.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.556/3.556, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003515/0.003514, allocations: 225.2 kB / 397.9 MB, free: 4.902 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.4693/0.4693, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004498, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08579, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2997/0.3856, allocations: 16.44 MB / 0.6228 GB, free: 83.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3976, allocations: 6.606 MB / 0.6293 GB, free: 79.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.399, allocations: 28.69 kB / 0.6293 GB, free: 79.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.4004, allocations: 296 kB / 0.6296 GB, free: 79.07 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.002968/0.4034, allocations: 0.7018 MB / 0.6302 GB, free: 78.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004928/0.4084, allocations: 1.034 MB / 0.6313 GB, free: 78.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005423/0.4138, allocations: 2.965 MB / 0.6342 GB, free: 77.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.4155, allocations: 0.548 MB / 0.6347 GB, free: 76.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.4187, allocations: 0.8621 MB / 0.6355 GB, free: 76.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.4213, allocations: 0.7518 MB / 0.6363 GB, free: 76.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004305/0.4218, allocations: 46 kB / 0.6363 GB, free: 76.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.4239, allocations: 300.4 kB / 0.6366 GB, free: 76.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007057/0.4247, allocations: 326 kB / 0.6369 GB, free: 76.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.4253, allocations: 200.8 kB / 0.6371 GB, free: 76.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.4279, allocations: 1.076 MB / 0.6381 GB, free: 75.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4279, allocations: 3.625 kB / 0.6382 GB, free: 75.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.4279, allocations: 0 / 0.6382 GB, free: 75.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.428, allocations: 0 / 0.6382 GB, free: 75.75 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003526/0.4315, allocations: 1.107 MB / 0.6392 GB, free: 74.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.4316, allocations: 7.156 kB / 0.6392 GB, free: 74.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.4324, allocations: 119.2 kB / 0.6394 GB, free: 74.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.434, allocations: 0.5899 MB / 0.6399 GB, free: 74.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.4343, allocations: 246.2 kB / 0.6402 GB, free: 74.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.4345, allocations: 83.91 kB / 0.6402 GB, free: 74.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.4376, allocations: 1.302 MB / 0.6415 GB, free: 73.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/0.4377, allocations: 10.38 kB / 0.6415 GB, free: 73.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.4379, allocations: 36.97 kB / 0.6416 GB, free: 73.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.125e-05/0.438, allocations: 42.33 kB / 0.6416 GB, free: 73.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.4409, allocations: 0.9584 MB / 0.6425 GB, free: 72.68 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.00937/0.4503, allocations: 7.042 MB / 0.6494 GB, free: 66.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/0.4511, allocations: 290.7 kB / 0.6497 GB, free: 65.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.4515, allocations: 155.8 kB / 0.6498 GB, free: 65.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003506/0.4551, allocations: 3.03 MB / 0.6528 GB, free: 62.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4551, allocations: 37.28 kB / 0.6528 GB, free: 62.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.735e-06/0.4552, allocations: 0 / 0.6528 GB, free: 62.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.00301/0.4582, allocations: 0.907 MB / 0.6537 GB, free: 61.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4582, allocations: 58.28 kB / 0.6538 GB, free: 61.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.4597, allocations: 0.8027 MB / 0.6546 GB, free: 61.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/0.4598, allocations: 32.48 kB / 0.6546 GB, free: 61.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.4603, allocations: 0.6242 MB / 0.6552 GB, free: 60.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.4604, allocations: 109.1 kB / 0.6553 GB, free: 60.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.4605, allocations: 25.94 kB / 0.6553 GB, free: 60.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4607, allocations: 386.6 kB / 0.6557 GB, free: 60.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006348/0.4613, allocations: 232.6 kB / 0.6559 GB, free: 60.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009689/0.4623, allocations: 1.049 MB / 0.6569 GB, free: 58.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.4633, allocations: 446.4 kB / 0.6574 GB, free: 58.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/0.4634, allocations: 8.844 kB / 0.6574 GB, free: 58.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003247/0.4667, allocations: 1.242 MB / 0.6586 GB, free: 58.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.4668, allocations: 17.94 kB / 0.6586 GB, free: 58.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.811e-05/0.4668, allocations: 29.06 kB / 0.6586 GB, free: 58.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.879e-05/0.4669, allocations: 51.14 kB / 0.6587 GB, free: 58.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.4685, allocations: 292 kB / 0.659 GB, free: 57.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.545e-05/0.4686, allocations: 59.78 kB / 0.659 GB, free: 57.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.4701, allocations: 63.98 kB / 0.6591 GB, free: 57.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.4703, allocations: 84 kB / 0.6592 GB, free: 57.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006765/0.471, allocations: 337 kB / 0.6595 GB, free: 57.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.4713, allocations: 86.23 kB / 0.6596 GB, free: 57.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009133/0.4722, allocations: 341 kB / 0.6599 GB, free: 56.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4722, allocations: 7.891 kB / 0.6599 GB, free: 56.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4722, allocations: 0 / 0.6599 GB, free: 56.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.4726, allocations: 175.5 kB / 0.6601 GB, free: 56.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.4728, allocations: 4 kB / 0.6601 GB, free: 56.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.4734, allocations: 23.92 kB / 0.6601 GB, free: 56.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.4735, allocations: 16.22 kB / 0.6601 GB, free: 56.62 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007671/0.4742, allocations: 340.4 kB / 0.6604 GB, free: 56.29 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009245/0.4752, allocations: 0.5671 MB / 0.661 GB, free: 55.71 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000188/0.4754, allocations: 96.19 kB / 0.6611 GB, free: 55.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008932/0.4763, allocations: 0.4912 MB / 0.6616 GB, free: 55.12 MB / 362.7 MB Notification: Performance of Backend: time 6.11e-07/0.4763, allocations: 0 / 0.6616 GB, free: 55.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002929/0.4793, allocations: 0.8462 MB / 0.6624 GB, free: 54.3 MB / 362.7 MB Notification: Performance of SimCode: time 0.004765/0.4841, allocations: 2.314 MB / 0.6646 GB, free: 51.96 MB / 362.7 MB Notification: Performance of Templates: time 0.03977/0.5239, allocations: 11.13 MB / 0.6755 GB, free: 41.18 MB / 362.7 MB