Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002656/0.002656, allocations: 346.4 kB / 15.94 MB, free: 6.219 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.766/3.766, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003556/0.003556, allocations: 217.4 kB / 397.9 MB, free: 4.973 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.517/0.517, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004822, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.254/2.357, allocations: 0.6253 GB / 1.232 GB, free: 41.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/2.357, allocations: 88.89 kB / 1.232 GB, free: 41.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.491/4.848, allocations: 414.8 MB / 1.637 GB, free: 42.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/4.848, allocations: 7.281 kB / 1.637 GB, free: 42.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000158/4.848, allocations: 31.94 kB / 1.637 GB, free: 42.09 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008583/4.856, allocations: 2.033 MB / 1.639 GB, free: 41.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/4.856, allocations: 9.719 kB / 1.639 GB, free: 41.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/4.859, allocations: 218.2 kB / 1.639 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/4.862, allocations: 0.9038 MB / 1.64 GB, free: 41.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/4.863, allocations: 57.55 kB / 1.64 GB, free: 41.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003924/4.863, allocations: 70.5 kB / 1.64 GB, free: 41.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/4.867, allocations: 1.253 MB / 1.642 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/4.867, allocations: 0 / 1.642 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/4.867, allocations: 38.81 kB / 1.642 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/4.867, allocations: 82.27 kB / 1.642 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/4.871, allocations: 1.227 MB / 1.643 GB, free: 40.85 MB / 442.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.01362/4.885, allocations: 4.825 MB / 1.648 GB, free: 38.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/4.887, allocations: 0.7175 MB / 1.648 GB, free: 38.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/4.888, allocations: 384 kB / 1.649 GB, free: 38.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/4.89, allocations: 1.302 MB / 1.65 GB, free: 37.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/4.89, allocations: 43 kB / 1.65 GB, free: 37.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 3.627e-06/4.89, allocations: 0 / 1.65 GB, free: 37.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=73): time 0.01447/4.905, allocations: 2.791 MB / 1.653 GB, free: 36.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/4.905, allocations: 213.2 kB / 1.653 GB, free: 36.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/4.907, allocations: 0.8731 MB / 1.654 GB, free: 36.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/4.907, allocations: 38.67 kB / 1.654 GB, free: 36.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/4.907, allocations: 0.4955 MB / 1.654 GB, free: 36.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/4.908, allocations: 260.8 kB / 1.655 GB, free: 36.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/4.908, allocations: 19.94 kB / 1.655 GB, free: 36.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/4.908, allocations: 342.2 kB / 1.655 GB, free: 35.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/4.909, allocations: 419.2 kB / 1.655 GB, free: 35.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/4.911, allocations: 0.6862 MB / 1.656 GB, free: 35.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/4.913, allocations: 0.5197 MB / 1.656 GB, free: 35.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/4.913, allocations: 2.562 kB / 1.656 GB, free: 35.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004858/4.918, allocations: 1.445 MB / 1.658 GB, free: 35.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/4.918, allocations: 315 kB / 1.658 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/4.918, allocations: 9.875 kB / 1.658 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005901/4.924, allocations: 0.7121 MB / 1.659 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/4.926, allocations: 190.2 kB / 1.659 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/4.928, allocations: 1.283 MB / 1.66 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/4.931, allocations: 75.58 kB / 1.66 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/4.931, allocations: 95.19 kB / 1.66 GB, free: 34.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/4.931, allocations: 9.359 kB / 1.661 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003936/4.935, allocations: 1.206 MB / 1.662 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/4.935, allocations: 9.219 kB / 1.662 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/4.938, allocations: 368.9 kB / 1.662 GB, free: 34.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/4.939, allocations: 217 kB / 1.662 GB, free: 34.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/4.941, allocations: 0.9618 MB / 1.663 GB, free: 33.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/4.943, allocations: 70.64 kB / 1.663 GB, free: 33.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003525/4.944, allocations: 100.3 kB / 1.663 GB, free: 33.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (96): * Single equations (assignments): 95 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.001046/4.945, allocations: 375.3 kB / 1.664 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/4.945, allocations: 99.5 kB / 1.664 GB, free: 33.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/4.95, allocations: 1.356 MB / 1.665 GB, free: 33.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/4.95, allocations: 11.31 kB / 1.665 GB, free: 33.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/4.95, allocations: 1.375 kB / 1.665 GB, free: 33.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/4.95, allocations: 7.281 kB / 1.665 GB, free: 33.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006364/4.957, allocations: 2.092 MB / 1.667 GB, free: 33.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/4.957, allocations: 3 kB / 1.667 GB, free: 33.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/4.958, allocations: 181.9 kB / 1.667 GB, free: 33.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/4.959, allocations: 26.25 kB / 1.667 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/4.959, allocations: 33.59 kB / 1.667 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/4.96, allocations: 1.28 MB / 1.669 GB, free: 31.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.257e-06/4.96, allocations: 2.562 kB / 1.669 GB, free: 31.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/4.965, allocations: 1.572 MB / 1.67 GB, free: 31.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007017/4.966, allocations: 185.6 kB / 1.67 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/4.966, allocations: 13.12 kB / 1.67 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/4.967, allocations: 66.44 kB / 1.67 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/4.967, allocations: 66.23 kB / 1.671 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/4.968, allocations: 71.2 kB / 1.671 GB, free: 31.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001563/4.969, allocations: 0.5987 MB / 1.671 GB, free: 31.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.62e-07/4.969, allocations: 0 / 1.671 GB, free: 31.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006253/4.976, allocations: 1.266 MB / 1.672 GB, free: 31.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * 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 (74): * Single equations (assignments): 73 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006843/4.982, allocations: 1.962 MB / 1.674 GB, free: 30.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005889/4.988, allocations: 1.612 MB / 1.676 GB, free: 30.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/4.988, allocations: 3.375 kB / 1.676 GB, free: 30.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/4.99, allocations: 0.5551 MB / 1.676 GB, free: 30.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/4.995, allocations: 0.5286 MB / 1.677 GB, free: 30.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007975/5.003, allocations: 2.962 MB / 1.68 GB, free: 29.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/5.004, allocations: 1.102 MB / 1.681 GB, free: 28.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004348/5.008, allocations: 0.5738 MB / 1.681 GB, free: 28.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/5.01, allocations: 166.2 kB / 1.682 GB, free: 28.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/5.01, allocations: 0 / 1.682 GB, free: 28.96 MB / 442.7 MB Notification: Performance of Templates: time 0.131/5.141, allocations: 47.8 MB / 1.728 GB, free: 26.2 MB / 442.7 MB