Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002616/0.002623, allocations: 347.7 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.565/3.565, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.003565/0.003564, allocations: 218.1 kB / 397.9 MB, free: 4.891 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.4621/0.4621, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004761, allocations: 15.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08478, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.174/8.259, allocations: 2.496 GB / 3.103 GB, free: 31.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/8.259, allocations: 86.52 kB / 3.103 GB, free: 31.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537/9.796, allocations: 230.8 MB / 3.329 GB, free: 56.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/9.796, allocations: 0 / 3.329 GB, free: 56.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.019e-05/9.797, allocations: 7.781 kB / 3.329 GB, free: 56.9 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006749/9.803, allocations: 1.324 MB / 3.33 GB, free: 56.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/9.803, allocations: 7.094 kB / 3.33 GB, free: 56.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/9.806, allocations: 243.8 kB / 3.33 GB, free: 56.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/9.808, allocations: 424.5 kB / 3.331 GB, free: 56.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/9.808, allocations: 27.19 kB / 3.331 GB, free: 56.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/9.808, allocations: 37.41 kB / 3.331 GB, free: 56.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/9.81, allocations: 0.6304 MB / 3.331 GB, free: 55.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/9.81, allocations: 3.984 kB / 3.331 GB, free: 55.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/9.81, allocations: 14.53 kB / 3.331 GB, free: 55.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/9.81, allocations: 11.86 kB / 3.331 GB, free: 55.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/9.813, allocations: 0.586 MB / 3.332 GB, free: 55.89 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.003939/9.817, allocations: 2.651 MB / 3.334 GB, free: 54.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/9.82, allocations: 0.5304 MB / 3.335 GB, free: 53.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006161/9.82, allocations: 181.2 kB / 3.335 GB, free: 53.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1984/10.02, allocations: 54.8 MB / 3.389 GB, free: 23.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/10.02, allocations: 37.53 kB / 3.389 GB, free: 23.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/10.02, allocations: 4 kB / 3.389 GB, free: 23.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.003816/10.02, allocations: 0.7908 MB / 3.389 GB, free: 23.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/10.02, allocations: 114.1 kB / 3.39 GB, free: 23.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/10.02, allocations: 360.8 kB / 3.39 GB, free: 23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/10.02, allocations: 35.42 kB / 3.39 GB, free: 22.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/10.02, allocations: 245.2 kB / 3.39 GB, free: 22.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/10.02, allocations: 95.38 kB / 3.39 GB, free: 22.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/10.02, allocations: 9.844 kB / 3.39 GB, free: 22.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/10.02, allocations: 352.4 kB / 3.391 GB, free: 22.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/10.02, allocations: 157.6 kB / 3.391 GB, free: 22.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/10.03, allocations: 303.8 kB / 3.391 GB, free: 22.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/10.03, allocations: 184.2 kB / 3.391 GB, free: 22.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/10.03, allocations: 3.906 kB / 3.391 GB, free: 22.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001622/10.03, allocations: 0.5028 MB / 3.392 GB, free: 22.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/10.03, allocations: 227.1 kB / 3.392 GB, free: 21.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/10.03, allocations: 3.781 kB / 3.392 GB, free: 21.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/10.03, allocations: 7.656 kB / 3.392 GB, free: 21.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007422/10.03, allocations: 120.3 kB / 3.392 GB, free: 21.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/10.03, allocations: 13.16 kB / 3.392 GB, free: 21.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/10.03, allocations: 82.64 kB / 3.392 GB, free: 21.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/10.03, allocations: 20.78 kB / 3.392 GB, free: 21.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/10.03, allocations: 3.219 kB / 3.392 GB, free: 21.92 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001436/10.03, allocations: 441.2 kB / 3.393 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/10.03, allocations: 5.938 kB / 3.393 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/10.03, allocations: 11.81 kB / 3.393 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/10.03, allocations: 113.9 kB / 3.393 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/10.03, allocations: 9.625 kB / 3.393 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/10.03, allocations: 74.03 kB / 3.393 GB, free: 21.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/10.03, allocations: 26.09 kB / 3.393 GB, free: 21.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003191/10.03, allocations: 251.6 kB / 3.393 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/10.03, allocations: 41.81 kB / 3.393 GB, free: 21.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/10.04, allocations: 1.943 MB / 3.395 GB, free: 21.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/10.04, allocations: 26.48 kB / 3.395 GB, free: 21.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/10.04, allocations: 0 / 3.395 GB, free: 21.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/10.04, allocations: 6.266 kB / 3.395 GB, free: 21.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/10.04, allocations: 1.029 MB / 3.396 GB, free: 37.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/10.04, allocations: 4 kB / 3.396 GB, free: 37.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/10.04, allocations: 82.59 kB / 3.396 GB, free: 37.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/10.04, allocations: 3.75 kB / 3.396 GB, free: 37.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/10.04, allocations: 10.03 kB / 3.396 GB, free: 37.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/10.04, allocations: 3.609 kB / 3.396 GB, free: 37.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/10.04, allocations: 4.406 kB / 3.396 GB, free: 37.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/10.04, allocations: 1.103 MB / 3.397 GB, free: 36.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/10.04, allocations: 256.9 kB / 3.397 GB, free: 36.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/10.04, allocations: 7.344 kB / 3.397 GB, free: 36.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/10.04, allocations: 47.98 kB / 3.398 GB, free: 36.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/10.04, allocations: 37.7 kB / 3.398 GB, free: 36.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/10.04, allocations: 12.41 kB / 3.398 GB, free: 36.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005229/10.04, allocations: 315.4 kB / 3.398 GB, free: 36.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.373e-06/10.04, allocations: 3.812 kB / 3.398 GB, free: 36.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005714/10.05, allocations: 1.152 MB / 3.399 GB, free: 36.46 MB / 458.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01011/10.06, allocations: 1.424 MB / 3.4 GB, free: 36.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002575/10.06, allocations: 0.8559 MB / 3.401 GB, free: 36.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/10.06, allocations: 4.062 kB / 3.401 GB, free: 36.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009712/10.06, allocations: 0.5188 MB / 3.402 GB, free: 36.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/10.06, allocations: 203.4 kB / 3.402 GB, free: 36.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/10.18, allocations: 43.85 MB / 3.445 GB, free: 31.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000875/10.18, allocations: 1.006 MB / 3.446 GB, free: 30.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001947/10.18, allocations: 0.5271 MB / 3.446 GB, free: 30.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/10.18, allocations: 50.98 kB / 3.446 GB, free: 30.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.423e-06/10.18, allocations: 0 / 3.446 GB, free: 30.41 MB / 458.7 MB Notification: Performance of Templates: time 0.08847/10.27, allocations: 34.44 MB / 3.48 GB, free: 11.91 MB / 458.7 MB