Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.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.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002776/0.00278, allocations: 364 kB / 15.95 MB, free: 6.203 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.991/3.991, allocations: 388.9 MB / 405.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.006072/0.006072, allocations: 220.3 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5235/0.5235, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006166/0.0006172, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.09905, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.234, allocations: 311.3 MB / 0.9841 GB, free: 110.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/1.235, allocations: 91.75 kB / 0.9842 GB, free: 110.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.355/1.59, allocations: 96.21 MB / 1.078 GB, free: 20.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.59, allocations: 0 / 1.078 GB, free: 20.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.883e-05/1.59, allocations: 12 kB / 1.078 GB, free: 20.93 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002305/1.592, allocations: 0.8903 MB / 1.079 GB, free: 19.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.592, allocations: 8.031 kB / 1.079 GB, free: 19.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/1.593, allocations: 55.44 kB / 1.079 GB, free: 19.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/1.594, allocations: 485.2 kB / 1.08 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/1.594, allocations: 24.55 kB / 1.08 GB, free: 19.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/1.594, allocations: 28 kB / 1.08 GB, free: 19.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/1.595, allocations: 0.5193 MB / 1.08 GB, free: 18.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/1.595, allocations: 0 / 1.08 GB, free: 18.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/1.595, allocations: 15.95 kB / 1.08 GB, free: 18.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.877e-05/1.596, allocations: 40.48 kB / 1.08 GB, free: 18.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/1.597, allocations: 442 kB / 1.081 GB, free: 18.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004335/1.601, allocations: 2.231 MB / 1.083 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/1.602, allocations: 206.6 kB / 1.083 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/1.602, allocations: 112.8 kB / 1.083 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/1.603, allocations: 0.998 MB / 1.084 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/1.604, allocations: 149 kB / 1.084 GB, free: 14.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.176e-06/1.604, allocations: 0 / 1.084 GB, free: 14.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007128/1.605, allocations: 281.7 kB / 1.084 GB, free: 14.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.605, allocations: 162.2 kB / 1.085 GB, free: 13.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/1.605, allocations: 489.8 kB / 1.085 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/1.605, allocations: 29.7 kB / 1.085 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/1.606, allocations: 311 kB / 1.085 GB, free: 13.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/1.606, allocations: 43.45 kB / 1.085 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/1.606, allocations: 8 kB / 1.085 GB, free: 12.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/1.606, allocations: 358.8 kB / 1.086 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/1.606, allocations: 104.8 kB / 1.086 GB, free: 12.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/1.606, allocations: 330.4 kB / 1.086 GB, free: 12.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/1.607, allocations: 205 kB / 1.086 GB, free: 11.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.607, allocations: 0 / 1.086 GB, free: 11.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001068/1.608, allocations: 0.5014 MB / 1.087 GB, free: 11.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/1.608, allocations: 336.8 kB / 1.087 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.608, allocations: 8 kB / 1.087 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/1.608, allocations: 12 kB / 1.087 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/1.609, allocations: 91.83 kB / 1.087 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/1.609, allocations: 12 kB / 1.087 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/1.61, allocations: 59.42 kB / 1.087 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/1.61, allocations: 31.98 kB / 1.087 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/1.61, allocations: 4 kB / 1.087 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009827/1.611, allocations: 453.5 kB / 1.088 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.611, allocations: 12.19 kB / 1.088 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.611, allocations: 8 kB / 1.088 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/1.611, allocations: 87.84 kB / 1.088 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/1.611, allocations: 19.91 kB / 1.088 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/1.612, allocations: 47.61 kB / 1.088 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/1.612, allocations: 24 kB / 1.088 GB, free: 10.06 MB / 490.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: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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.0003986/1.612, allocations: 311.4 kB / 1.088 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/1.612, allocations: 47.53 kB / 1.088 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/1.613, allocations: 285.5 kB / 1.089 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.613, allocations: 0 / 1.089 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.613, allocations: 3.953 kB / 1.089 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/1.613, allocations: 4.031 kB / 1.089 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/1.614, allocations: 385.3 kB / 1.089 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.614, allocations: 4 kB / 1.089 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/1.614, allocations: 19.92 kB / 1.089 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/1.614, allocations: 4 kB / 1.089 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/1.614, allocations: 4 kB / 1.089 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.614, allocations: 4 kB / 1.089 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.614, allocations: 0 / 1.089 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/1.615, allocations: 290.2 kB / 1.089 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/1.615, allocations: 120.5 kB / 1.089 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.615, allocations: 12 kB / 1.089 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/1.615, allocations: 23.84 kB / 1.09 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.615, allocations: 15.92 kB / 1.09 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/1.616, allocations: 4 kB / 1.09 GB, free: 8.438 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005415/1.616, allocations: 334.9 kB / 1.09 GB, free: 8.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.616, allocations: 4 kB / 1.09 GB, free: 8.109 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001854/1.618, allocations: 451.4 kB / 1.09 GB, free: 7.668 MB / 490.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,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.00178/1.62, allocations: 0.4989 MB / 1.091 GB, free: 7.164 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/1.621, allocations: 0.63 MB / 1.091 GB, free: 6.516 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.621, allocations: 4.312 kB / 1.091 GB, free: 6.512 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/1.621, allocations: 159.4 kB / 1.092 GB, free: 6.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/1.623, allocations: 148.8 kB / 1.092 GB, free: 6.203 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/1.625, allocations: 1.002 MB / 1.093 GB, free: 5.168 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/1.625, allocations: 0.8507 MB / 1.093 GB, free: 4.289 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008803/1.626, allocations: 144.4 kB / 1.094 GB, free: 4.145 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/1.626, allocations: 43.38 kB / 1.094 GB, free: 4.102 MB / 490.7 MB Notification: Performance of SimCode: time 2.184e-06/1.626, allocations: 0 / 1.094 GB, free: 4.102 MB / 490.7 MB Notification: Performance of Templates: time 0.3407/1.967, allocations: 9.896 MB / 1.103 GB, free: 134.4 MB / 490.7 MB