Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002833/0.002838, allocations: 349.3 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.543/3.543, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003641/0.003641, allocations: 214.1 kB / 397.9 MB, free: 4.977 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.5017/0.5017, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004648, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09161, allocations: 48.7 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.152, allocations: 304.9 MB / 0.9045 GB, free: 12.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/1.152, allocations: 91.33 kB / 0.9045 GB, free: 12.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6999/1.852, allocations: 96.12 MB / 0.9984 GB, free: 90.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.816e-06/1.852, allocations: 0 / 0.9984 GB, free: 90.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.125e-05/1.852, allocations: 13.48 kB / 0.9984 GB, free: 90.77 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002963/1.855, allocations: 0.8798 MB / 0.9993 GB, free: 89.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.855, allocations: 12.03 kB / 0.9993 GB, free: 89.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005465/1.856, allocations: 55.34 kB / 0.9993 GB, free: 89.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/1.858, allocations: 478.9 kB / 0.9998 GB, free: 89.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/1.858, allocations: 24.56 kB / 0.9998 GB, free: 89.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/1.858, allocations: 23.52 kB / 0.9998 GB, free: 89.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/1.86, allocations: 0.5124 MB / 1 GB, free: 88.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/1.86, allocations: 7.938 kB / 1 GB, free: 88.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.86, allocations: 15.52 kB / 1 GB, free: 88.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.587e-05/1.86, allocations: 24.55 kB / 1 GB, free: 88.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/1.861, allocations: 445.8 kB / 1.001 GB, free: 88.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/1.868, allocations: 2.234 MB / 1.003 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008022/1.868, allocations: 198.6 kB / 1.003 GB, free: 85.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/1.869, allocations: 108.7 kB / 1.003 GB, free: 85.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/1.871, allocations: 0.9849 MB / 1.004 GB, free: 84.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000388/1.872, allocations: 141 kB / 1.004 GB, free: 84.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 4.027e-06/1.872, allocations: 0 / 1.004 GB, free: 84.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001106/1.873, allocations: 274.8 kB / 1.005 GB, free: 84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/1.873, allocations: 162.2 kB / 1.005 GB, free: 83.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.874, allocations: 493.7 kB / 1.005 GB, free: 83.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/1.874, allocations: 25.7 kB / 1.005 GB, free: 83.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/1.874, allocations: 315 kB / 1.006 GB, free: 82.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/1.875, allocations: 47.22 kB / 1.006 GB, free: 82.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/1.875, allocations: 8 kB / 1.006 GB, free: 82.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/1.875, allocations: 350.8 kB / 1.006 GB, free: 82.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/1.875, allocations: 104.8 kB / 1.006 GB, free: 82.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/1.876, allocations: 330.3 kB / 1.006 GB, free: 82.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/1.876, allocations: 190 kB / 1.007 GB, free: 81.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.876, allocations: 0 / 1.007 GB, free: 81.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001683/1.878, allocations: 0.4909 MB / 1.007 GB, free: 81.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002468/1.878, allocations: 340 kB / 1.007 GB, free: 80.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/1.878, allocations: 4 kB / 1.007 GB, free: 80.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.533e-05/1.878, allocations: 16.05 kB / 1.007 GB, free: 80.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/1.879, allocations: 91.78 kB / 1.007 GB, free: 80.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.802e-05/1.879, allocations: 19.92 kB / 1.008 GB, free: 80.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.88, allocations: 63.36 kB / 1.008 GB, free: 80.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.881, allocations: 24 kB / 1.008 GB, free: 80.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.881, allocations: 4 kB / 1.008 GB, free: 80.69 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0015/1.882, allocations: 449.7 kB / 1.008 GB, free: 80.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.882, allocations: 11.95 kB / 1.008 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/1.882, allocations: 20.06 kB / 1.008 GB, free: 80.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007735/1.883, allocations: 83.89 kB / 1.008 GB, free: 80.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/1.883, allocations: 11.94 kB / 1.008 GB, free: 80.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/1.884, allocations: 51.58 kB / 1.008 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/1.884, allocations: 20 kB / 1.008 GB, free: 80.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0005962/1.885, allocations: 308.7 kB / 1.009 GB, free: 79.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/1.885, allocations: 43.53 kB / 1.009 GB, free: 79.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009985/1.886, allocations: 288.6 kB / 1.009 GB, free: 79.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.886, allocations: 4.047 kB / 1.009 GB, free: 79.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.886, allocations: 3.984 kB / 1.009 GB, free: 79.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.886, allocations: 3.938 kB / 1.009 GB, free: 79.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000753/1.887, allocations: 361.4 kB / 1.009 GB, free: 78.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.887, allocations: 4 kB / 1.009 GB, free: 78.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/1.887, allocations: 23.98 kB / 1.009 GB, free: 78.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/1.887, allocations: 0 / 1.009 GB, free: 78.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/1.887, allocations: 4 kB / 1.009 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/1.887, allocations: 7.953 kB / 1.009 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.887, allocations: 0 / 1.009 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/1.888, allocations: 297.9 kB / 1.01 GB, free: 78.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/1.888, allocations: 116.5 kB / 1.01 GB, free: 78.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.888, allocations: 15.98 kB / 1.01 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/1.889, allocations: 8 kB / 1.01 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/1.889, allocations: 15.94 kB / 1.01 GB, free: 78.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/1.889, allocations: 8 kB / 1.01 GB, free: 78.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007937/1.89, allocations: 334.9 kB / 1.01 GB, free: 78.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.89, allocations: 0 / 1.01 GB, free: 78.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002921/1.893, allocations: 451.3 kB / 1.01 GB, free: 77.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.002532/1.895, allocations: 493.5 kB / 1.011 GB, free: 77.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001897/1.897, allocations: 0.571 MB / 1.011 GB, free: 76.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.897, allocations: 5 kB / 1.011 GB, free: 76.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/1.898, allocations: 136.3 kB / 1.012 GB, free: 76.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/1.9, allocations: 143.1 kB / 1.012 GB, free: 76.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/1.903, allocations: 0.9851 MB / 1.013 GB, free: 75.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/1.903, allocations: 0.8506 MB / 1.014 GB, free: 74.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001296/1.905, allocations: 155 kB / 1.014 GB, free: 74.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/1.905, allocations: 39.42 kB / 1.014 GB, free: 74.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.924e-06/1.905, allocations: 0 / 1.014 GB, free: 74.27 MB / 426.7 MB Notification: Performance of Templates: time 0.03785/1.943, allocations: 9.724 MB / 1.023 GB, free: 64.64 MB / 426.7 MB