Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002855/0.002859, allocations: 363.2 kB / 15.95 MB, free: 6.207 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.318/4.318, allocations: 388.9 MB / 405.6 MB, free: 47.9 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.006697/0.006697, allocations: 228.8 kB / 451 MB, free: 2.379 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.7508/0.7508, allocations: 80.02 MB / 0.5627 GB, free: 6.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004727, allocations: 20 kB / 0.6265 GB, free: 4.816 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1291, allocations: 54.88 MB / 0.6801 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.313/2.442, allocations: 0.6281 GB / 1.308 GB, free: 131.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005481/2.443, allocations: 92.34 kB / 1.308 GB, free: 131.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.096/4.539, allocations: 353.3 MB / 1.653 GB, free: 57.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.616e-06/4.539, allocations: 0 / 1.653 GB, free: 57.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000108/4.539, allocations: 29.09 kB / 1.653 GB, free: 57.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.007029/4.546, allocations: 1.697 MB / 1.655 GB, free: 57.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/4.546, allocations: 10.5 kB / 1.655 GB, free: 57.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/4.548, allocations: 200.4 kB / 1.655 GB, free: 57.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/4.551, allocations: 0.8477 MB / 1.656 GB, free: 56.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/4.551, allocations: 50.45 kB / 1.656 GB, free: 56.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/4.552, allocations: 70.42 kB / 1.656 GB, free: 56.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/4.555, allocations: 1.155 MB / 1.657 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/4.555, allocations: 5.188 kB / 1.657 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/4.555, allocations: 27.62 kB / 1.657 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/4.555, allocations: 79.14 kB / 1.657 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/4.558, allocations: 1.16 MB / 1.659 GB, free: 56.7 MB / 490.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.01104/4.569, allocations: 4.319 MB / 1.663 GB, free: 54.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/4.571, allocations: 0.7362 MB / 1.663 GB, free: 54.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009746/4.572, allocations: 374.7 kB / 1.664 GB, free: 54.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/4.574, allocations: 1.304 MB / 1.665 GB, free: 53.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/4.574, allocations: 43.25 kB / 1.665 GB, free: 53.71 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001292/4.575, allocations: 125.8 kB / 1.665 GB, free: 53.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 3.988e-06/4.575, allocations: 0 / 1.665 GB, free: 53.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.01311/4.589, allocations: 2.083 MB / 1.667 GB, free: 53.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/4.589, allocations: 215.9 kB / 1.668 GB, free: 53.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/4.59, allocations: 0.8175 MB / 1.668 GB, free: 53.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002864/4.591, allocations: 39.2 kB / 1.668 GB, free: 53.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/4.591, allocations: 458.6 kB / 1.669 GB, free: 52.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/4.592, allocations: 223.6 kB / 1.669 GB, free: 52.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/4.592, allocations: 15.78 kB / 1.669 GB, free: 52.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/4.592, allocations: 343.2 kB / 1.669 GB, free: 52.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/4.593, allocations: 384.3 kB / 1.67 GB, free: 52.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/4.594, allocations: 0.6204 MB / 1.67 GB, free: 52.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/4.596, allocations: 492.4 kB / 1.671 GB, free: 52.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/4.596, allocations: 2.562 kB / 1.671 GB, free: 52.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003769/4.599, allocations: 1.309 MB / 1.672 GB, free: 52.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/4.6, allocations: 274.5 kB / 1.672 GB, free: 51.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/4.6, allocations: 7.438 kB / 1.672 GB, free: 51.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008467/4.608, allocations: 0.8316 MB / 1.673 GB, free: 51.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/4.61, allocations: 174 kB / 1.673 GB, free: 51.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/4.612, allocations: 1.199 MB / 1.674 GB, free: 51.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/4.614, allocations: 64.19 kB / 1.675 GB, free: 51.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/4.614, allocations: 76.2 kB / 1.675 GB, free: 51.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/4.614, allocations: 6.031 kB / 1.675 GB, free: 51.26 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003901/4.618, allocations: 1.117 MB / 1.676 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/4.618, allocations: 6 kB / 1.676 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/4.619, allocations: 159.4 kB / 1.676 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/4.621, allocations: 209.5 kB / 1.676 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003739/4.624, allocations: 2.155 MB / 1.678 GB, free: 49.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/4.626, allocations: 61.02 kB / 1.678 GB, free: 49.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/4.626, allocations: 71.78 kB / 1.678 GB, free: 49.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008016/4.627, allocations: 360 kB / 1.679 GB, free: 49.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/4.627, allocations: 97.23 kB / 1.679 GB, free: 49.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/4.632, allocations: 1.321 MB / 1.68 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/4.632, allocations: 8.625 kB / 1.68 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/4.632, allocations: 0 / 1.68 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/4.632, allocations: 2.375 kB / 1.68 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/4.637, allocations: 1.95 MB / 1.682 GB, free: 49.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/4.637, allocations: 0 / 1.682 GB, free: 49.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/4.637, allocations: 90.58 kB / 1.682 GB, free: 49.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005938/4.643, allocations: 0.6852 MB / 1.683 GB, free: 49.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002663/4.644, allocations: 26.94 kB / 1.683 GB, free: 49.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/4.646, allocations: 1.177 MB / 1.684 GB, free: 48.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/4.646, allocations: 2.375 kB / 1.684 GB, free: 48.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/4.649, allocations: 1.116 MB / 1.685 GB, free: 48.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/4.65, allocations: 177.2 kB / 1.685 GB, free: 48.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/4.65, allocations: 11.72 kB / 1.685 GB, free: 48.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/4.651, allocations: 48.67 kB / 1.685 GB, free: 48.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/4.651, allocations: 55.52 kB / 1.685 GB, free: 48.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/4.651, allocations: 47.12 kB / 1.685 GB, free: 48.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001175/4.652, allocations: 0.5676 MB / 1.686 GB, free: 48.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-07/4.652, allocations: 0 / 1.686 GB, free: 48.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005436/4.658, allocations: 1.221 MB / 1.687 GB, free: 48.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (37): * Single equations (assignments): 36 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005703/4.664, allocations: 1.807 MB / 1.689 GB, free: 47.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005114/4.669, allocations: 1.577 MB / 1.69 GB, free: 47.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/4.669, allocations: 1.375 kB / 1.69 GB, free: 47.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/4.67, allocations: 422 kB / 1.691 GB, free: 47.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/4.674, allocations: 0.4912 MB / 1.691 GB, free: 47.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/4.681, allocations: 2.593 MB / 1.694 GB, free: 46.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/4.681, allocations: 1.076 MB / 1.695 GB, free: 45.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003013/4.684, allocations: 449.6 kB / 1.695 GB, free: 45.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/4.685, allocations: 97.33 kB / 1.695 GB, free: 45.96 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/4.685, allocations: 0 / 1.695 GB, free: 45.96 MB / 490.7 MB Notification: Performance of Templates: time 0.09514/4.78, allocations: 42.48 MB / 1.737 GB, free: 43.84 MB / 490.7 MB