Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.TestValveVaporizing,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.TestValveVaporizing") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004095/0.0041, allocations: 351.1 kB / 15.94 MB, free: 6.215 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.451/3.451, 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.003614/0.003614, allocations: 218.1 kB / 397.9 MB, free: 4.969 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.5434/0.5434, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004717, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.08894, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.925/8.014, allocations: 2.524 GB / 3.131 GB, free: 3.492 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/8.014, allocations: 88.89 kB / 3.131 GB, free: 3.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427/9.441, allocations: 230.7 MB / 3.356 GB, free: 64.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.364e-06/9.441, allocations: 0 / 3.356 GB, free: 64.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.189e-05/9.441, allocations: 13.02 kB / 3.356 GB, free: 64.2 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006441/9.448, allocations: 1.335 MB / 3.358 GB, free: 63.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/9.448, allocations: 9.062 kB / 3.358 GB, free: 63.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/9.451, allocations: 247 kB / 3.358 GB, free: 63.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/9.452, allocations: 428.4 kB / 3.358 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/9.452, allocations: 29.75 kB / 3.358 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/9.452, allocations: 31.62 kB / 3.358 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/9.455, allocations: 0.6721 MB / 3.359 GB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/9.455, allocations: 4.719 kB / 3.359 GB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/9.455, allocations: 22.3 kB / 3.359 GB, free: 63.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/9.455, allocations: 9.094 kB / 3.359 GB, free: 63.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/9.458, allocations: 0.6489 MB / 3.36 GB, free: 63.13 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.004526/9.463, allocations: 2.77 MB / 3.362 GB, free: 61.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/9.466, allocations: 0.4962 MB / 3.363 GB, free: 61.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009574/9.467, allocations: 210.7 kB / 3.363 GB, free: 61.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1922/9.659, allocations: 51.43 MB / 3.413 GB, free: 32.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/9.659, allocations: 39.06 kB / 3.413 GB, free: 32.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/9.659, allocations: 1.688 kB / 3.413 GB, free: 32.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.004762/9.664, allocations: 0.8688 MB / 3.414 GB, free: 32.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/9.664, allocations: 106.6 kB / 3.414 GB, free: 32.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/9.664, allocations: 357.9 kB / 3.415 GB, free: 31.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/9.664, allocations: 33.48 kB / 3.415 GB, free: 31.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/9.665, allocations: 240 kB / 3.415 GB, free: 31.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/9.665, allocations: 93.66 kB / 3.415 GB, free: 31.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/9.665, allocations: 4 kB / 3.415 GB, free: 31.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/9.665, allocations: 352.8 kB / 3.415 GB, free: 31.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008932/9.666, allocations: 174.3 kB / 3.416 GB, free: 31.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009823/9.667, allocations: 309 kB / 3.416 GB, free: 30.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009431/9.668, allocations: 204 kB / 3.416 GB, free: 30.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/9.668, allocations: 3.812 kB / 3.416 GB, free: 30.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002398/9.67, allocations: 0.5255 MB / 3.417 GB, free: 30.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/9.67, allocations: 207.2 kB / 3.417 GB, free: 30.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/9.67, allocations: 4.125 kB / 3.417 GB, free: 30.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/9.67, allocations: 6.688 kB / 3.417 GB, free: 30.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/9.671, allocations: 119.3 kB / 3.417 GB, free: 30.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/9.671, allocations: 7.781 kB / 3.417 GB, free: 30.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008783/9.672, allocations: 96.77 kB / 3.417 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/9.672, allocations: 20.81 kB / 3.417 GB, free: 30.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/9.672, allocations: 7.25 kB / 3.417 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002167/9.674, allocations: 476 kB / 3.417 GB, free: 30.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/9.675, allocations: 3.719 kB / 3.417 GB, free: 30.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/9.675, allocations: 7.719 kB / 3.417 GB, free: 30.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/9.675, allocations: 124.5 kB / 3.418 GB, free: 30.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/9.675, allocations: 7.75 kB / 3.418 GB, free: 30.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008559/9.676, allocations: 72.72 kB / 3.418 GB, free: 30.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/9.676, allocations: 23.97 kB / 3.418 GB, free: 30.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (44): * Single equations (assignments): 44 * 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.0003679/9.677, allocations: 244.8 kB / 3.418 GB, free: 30.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/9.677, allocations: 39.88 kB / 3.418 GB, free: 30 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/9.681, allocations: 1.982 MB / 3.42 GB, free: 29.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/9.681, allocations: 34.91 kB / 3.42 GB, free: 29.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/9.681, allocations: 6.938 kB / 3.42 GB, free: 29.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/9.681, allocations: 3.953 kB / 3.42 GB, free: 29.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/9.682, allocations: 1.026 MB / 3.421 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/9.682, allocations: 3.797 kB / 3.421 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/9.683, allocations: 98.39 kB / 3.421 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/9.683, allocations: 0 / 3.421 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/9.683, allocations: 7.781 kB / 3.421 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/9.683, allocations: 0 / 3.421 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/9.683, allocations: 6.312 kB / 3.421 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/9.686, allocations: 1.149 MB / 3.422 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/9.686, allocations: 255.4 kB / 3.422 GB, free: 27.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/9.686, allocations: 4 kB / 3.422 GB, free: 27.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/9.687, allocations: 52.91 kB / 3.422 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/9.687, allocations: 30.28 kB / 3.422 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/9.687, allocations: 27.09 kB / 3.423 GB, free: 27.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005613/9.688, allocations: 305.9 kB / 3.423 GB, free: 27.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/9.688, allocations: 0 / 3.423 GB, free: 27.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005823/9.694, allocations: 1.152 MB / 3.424 GB, free: 27.3 MB / 442.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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.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 (38): * Single equations (assignments): 29 * 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.009959/9.704, allocations: 1.44 MB / 3.425 GB, free: 26.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003502/9.707, allocations: 0.9198 MB / 3.426 GB, free: 26.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/9.707, allocations: 4.125 kB / 3.426 GB, free: 26.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/9.709, allocations: 0.544 MB / 3.427 GB, free: 26.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/9.711, allocations: 202.3 kB / 3.427 GB, free: 26.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09789/9.809, allocations: 39.35 MB / 3.465 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/9.809, allocations: 1.001 MB / 3.466 GB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001402/9.811, allocations: 0.5337 MB / 3.467 GB, free: 10.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/9.811, allocations: 47.19 kB / 3.467 GB, free: 10.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/9.811, allocations: 0 / 3.467 GB, free: 10.35 MB / 442.7 MB Notification: Performance of Templates: time 0.4088/10.22, allocations: 34.49 MB / 3.501 GB, free: 59.34 MB / 442.7 MB