Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003699/0.003699, allocations: 369.3 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 3.979/3.979, allocations: 388.9 MB / 405.6 MB, free: 48.64 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003579/0.003578, allocations: 224.8 kB / 451 MB, free: 3.117 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7705/0.7705, allocations: 80.02 MB / 0.5627 GB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.0006611, allocations: 11.94 kB / 0.6265 GB, free: 4.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1573, allocations: 54.88 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.6766/0.834, allocations: 189.4 MB / 0.8651 GB, free: 11.67 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4358/1.27, allocations: 14.06 MB / 0.8788 GB, free: 5.555 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/1.271, allocations: 47.41 kB / 0.8788 GB, free: 5.551 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/1.273, allocations: 388.9 kB / 0.8792 GB, free: 5.551 MB / 474.7 MB [/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. [/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. [/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.01086/1.284, allocations: 3.051 MB / 0.8822 GB, free: 5.516 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.295, allocations: 3.01 MB / 0.8851 GB, free: 5.449 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005807/1.301, allocations: 3.833 MB / 0.8889 GB, free: 5.449 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/1.304, allocations: 1.442 MB / 0.8903 GB, free: 5.301 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00533/1.31, allocations: 1.693 MB / 0.8919 GB, free: 5.289 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/1.321, allocations: 3.812 MB / 0.8957 GB, free: 5.199 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009978/1.322, allocations: 120.3 kB / 0.8958 GB, free: 5.199 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01581/1.338, allocations: 5.017 MB / 0.9007 GB, free: 5.16 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002154/1.34, allocations: 0.8964 MB / 0.9015 GB, free: 5.16 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/1.341, allocations: 363.5 kB / 0.9019 GB, free: 5.129 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/1.352, allocations: 4.233 MB / 0.906 GB, free: 4.859 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.352, allocations: 2.797 kB / 0.906 GB, free: 4.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.352, allocations: 0 / 0.906 GB, free: 4.859 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.946e-05/1.352, allocations: 4 kB / 0.906 GB, free: 4.855 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01898/1.371, allocations: 2.285 MB / 0.9083 GB, free: 3.551 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.371, allocations: 9.719 kB / 0.9083 GB, free: 3.551 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00804/1.379, allocations: 486.6 kB / 0.9087 GB, free: 3.355 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/1.384, allocations: 1.135 MB / 0.9098 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/1.384, allocations: 86.98 kB / 0.9099 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008117/1.385, allocations: 117.9 kB / 0.91 GB, free: 2.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00866/1.393, allocations: 2.828 MB / 0.9128 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/1.394, allocations: 4.594 kB / 0.9128 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004675/1.394, allocations: 55.16 kB / 0.9129 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002889/1.394, allocations: 147.5 kB / 0.913 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/1.405, allocations: 3.556 MB / 0.9165 GB, free: 1.312 MB / 474.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.02306/1.428, allocations: 7.853 MB / 0.9241 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/1.43, allocations: 0.7225 MB / 0.9249 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/1.432, allocations: 380.5 kB / 0.9252 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002291/1.434, allocations: 1.141 MB / 0.9263 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/1.434, allocations: 37.25 kB / 0.9264 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001671/1.436, allocations: 189.3 kB / 0.9265 GB, free: 11.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=56): time 5.37e-06/1.436, allocations: 0 / 0.9265 GB, free: 11.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.009094/1.445, allocations: 1.762 MB / 0.9283 GB, free: 11.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/1.445, allocations: 138.4 kB / 0.9284 GB, free: 10.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/1.447, allocations: 1.053 MB / 0.9294 GB, free: 10.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000281/1.447, allocations: 35.48 kB / 0.9295 GB, free: 10.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007355/1.448, allocations: 0.7677 MB / 0.9302 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/1.448, allocations: 202.2 kB / 0.9304 GB, free: 9.902 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.449, allocations: 29 kB / 0.9304 GB, free: 9.898 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/1.449, allocations: 352 kB / 0.9308 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/1.45, allocations: 488 kB / 0.9312 GB, free: 9.504 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/1.452, allocations: 0.9389 MB / 0.9321 GB, free: 8.836 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.454, allocations: 0.6389 MB / 0.9328 GB, free: 8.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.454, allocations: 3.25 kB / 0.9328 GB, free: 8.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004928/1.459, allocations: 1.712 MB / 0.9344 GB, free: 8.426 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004739/1.459, allocations: 0.525 MB / 0.935 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.459, allocations: 14.06 kB / 0.935 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/1.463, allocations: 0.5397 MB / 0.9355 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/1.465, allocations: 260.2 kB / 0.9357 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/1.468, allocations: 1.183 MB / 0.9369 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/1.47, allocations: 93.89 kB / 0.937 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/1.471, allocations: 91.16 kB / 0.9371 GB, free: 6.914 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.471, allocations: 3.219 kB / 0.9371 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004784/1.476, allocations: 1.509 MB / 0.9386 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-05/1.476, allocations: 19.53 kB / 0.9386 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/1.477, allocations: 185 kB / 0.9388 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/1.479, allocations: 285.8 kB / 0.939 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004613/1.484, allocations: 2.228 MB / 0.9412 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/1.486, allocations: 91.44 kB / 0.9413 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/1.486, allocations: 88.05 kB / 0.9414 GB, free: 3.969 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.001378/1.487, allocations: 0.5219 MB / 0.9419 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/1.488, allocations: 110.7 kB / 0.942 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004435/1.492, allocations: 1.237 MB / 0.9432 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/1.492, allocations: 7.938 kB / 0.9432 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.492, allocations: 3.188 kB / 0.9432 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/1.493, allocations: 195.9 kB / 0.9434 GB, free: 2.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/1.494, allocations: 9.125 kB / 0.9434 GB, free: 2.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.495, allocations: 41.66 kB / 0.9434 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.495, allocations: 40.12 kB / 0.9435 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004785/1.5, allocations: 1.109 MB / 0.9446 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00396/1.504, allocations: 1.39 MB / 0.9459 GB, free: 484 kB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001025/1.505, allocations: 355.1 kB / 0.9463 GB, free: 244 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001617/1.506, allocations: 0.701 MB / 0.9469 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of Backend: time 6.42e-07/1.507, allocations: 0 / 0.9469 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01638/1.523, allocations: 3.305 MB / 0.9502 GB, free: 13.06 MB / 0.4949 GB Notification: Performance of SimCode: time 0.008992/1.532, allocations: 3.572 MB / 0.9537 GB, free: 9.707 MB / 0.4949 GB Notification: Performance of Templates: time 0.116/1.648, allocations: 44.52 MB / 0.9971 GB, free: 13.72 MB / 0.5417 GB