Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.Valves.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004414/0.00442, allocations: 360 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 4.013/4.013, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003524/0.003522, allocations: 232.5 kB / 451 MB, free: 145 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.4945/0.4945, allocations: 80.01 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007594/0.0007596, allocations: 11.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.14, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.099/8.239, allocations: 2.606 GB / 3.286 GB, free: 38.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/8.239, allocations: 93.56 kB / 3.287 GB, free: 38.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177/9.416, allocations: 232.6 MB / 3.514 GB, free: 6.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/9.416, allocations: 0 / 3.514 GB, free: 6.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.629e-05/9.416, allocations: 8 kB / 3.514 GB, free: 6.812 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006086/9.422, allocations: 1.324 MB / 3.515 GB, free: 5.438 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/9.422, allocations: 12.03 kB / 3.515 GB, free: 5.426 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/9.425, allocations: 247.2 kB / 3.515 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/9.426, allocations: 424.1 kB / 3.516 GB, free: 4.727 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/9.426, allocations: 28.61 kB / 3.516 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/9.426, allocations: 32 kB / 3.516 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/9.429, allocations: 0.6283 MB / 3.516 GB, free: 4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/9.429, allocations: 0 / 3.516 GB, free: 4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/9.429, allocations: 12 kB / 3.516 GB, free: 3.988 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/9.429, allocations: 8 kB / 3.516 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/9.431, allocations: 0.5953 MB / 3.517 GB, free: 3.387 MB / 490.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.003833/9.435, allocations: 2.567 MB / 3.519 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/9.437, allocations: 446.2 kB / 3.52 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3856/9.823, allocations: 173.6 kB / 3.52 GB, free: 68.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2244/10.05, allocations: 51.35 MB / 3.57 GB, free: 40.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/10.05, allocations: 38.52 kB / 3.57 GB, free: 40.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.356e-06/10.05, allocations: 4.453 kB / 3.57 GB, free: 40.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.004175/10.05, allocations: 0.81 MB / 3.571 GB, free: 40.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/10.05, allocations: 110.7 kB / 3.571 GB, free: 40.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/10.05, allocations: 343.8 kB / 3.571 GB, free: 39.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/10.05, allocations: 32.52 kB / 3.571 GB, free: 39.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/10.05, allocations: 234.9 kB / 3.572 GB, free: 39.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.93e-05/10.05, allocations: 94.56 kB / 3.572 GB, free: 39.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/10.05, allocations: 3.125 kB / 3.572 GB, free: 39.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/10.05, allocations: 344.5 kB / 3.572 GB, free: 39.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/10.05, allocations: 162.2 kB / 3.572 GB, free: 39.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007416/10.05, allocations: 288.8 kB / 3.573 GB, free: 39.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/10.06, allocations: 188.8 kB / 3.573 GB, free: 39.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/10.06, allocations: 6.172 kB / 3.573 GB, free: 39.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001854/10.06, allocations: 0.4929 MB / 3.573 GB, free: 39.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/10.06, allocations: 208.7 kB / 3.573 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/10.06, allocations: 2.312 kB / 3.573 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/10.06, allocations: 14.52 kB / 3.573 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/10.06, allocations: 112.9 kB / 3.574 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/10.06, allocations: 7.719 kB / 3.574 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/10.06, allocations: 81.84 kB / 3.574 GB, free: 39.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/10.06, allocations: 20.7 kB / 3.574 GB, free: 39.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/10.06, allocations: 3.969 kB / 3.574 GB, free: 39.02 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001687/10.06, allocations: 443.8 kB / 3.574 GB, free: 39.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/10.06, allocations: 5.344 kB / 3.574 GB, free: 39.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/10.06, allocations: 7.906 kB / 3.574 GB, free: 39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/10.06, allocations: 116.2 kB / 3.574 GB, free: 39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/10.06, allocations: 7.938 kB / 3.574 GB, free: 39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/10.06, allocations: 65.39 kB / 3.574 GB, free: 38.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/10.06, allocations: 22.3 kB / 3.574 GB, free: 38.99 MB / 490.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 (V1.state_b.phase,V1.state_a.phase,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 initialization (43): * Single equations (assignments): 43 * 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.0003422/10.06, allocations: 248.2 kB / 3.575 GB, free: 38.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/10.06, allocations: 34.34 kB / 3.575 GB, free: 38.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/10.07, allocations: 1.97 MB / 3.576 GB, free: 38.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/10.07, allocations: 29.81 kB / 3.576 GB, free: 38.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/10.07, allocations: 0 / 3.576 GB, free: 38.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/10.07, allocations: 2.953 kB / 3.576 GB, free: 38.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/10.07, allocations: 1.03 MB / 3.577 GB, free: 38.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/10.07, allocations: 0 / 3.577 GB, free: 38.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/10.07, allocations: 86.66 kB / 3.578 GB, free: 38.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/10.07, allocations: 3.906 kB / 3.578 GB, free: 38.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/10.07, allocations: 7.531 kB / 3.578 GB, free: 38.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/10.07, allocations: 4 kB / 3.578 GB, free: 38.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/10.07, allocations: 0 / 3.578 GB, free: 38.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/10.07, allocations: 1.117 MB / 3.579 GB, free: 38.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/10.07, allocations: 249.4 kB / 3.579 GB, free: 37.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/10.07, allocations: 11.47 kB / 3.579 GB, free: 37.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/10.07, allocations: 49.16 kB / 3.579 GB, free: 37.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/10.07, allocations: 32.36 kB / 3.579 GB, free: 37.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/10.07, allocations: 15.17 kB / 3.579 GB, free: 37.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005725/10.07, allocations: 313.1 kB / 3.579 GB, free: 37.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.07, allocations: 0 / 3.579 GB, free: 37.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006569/10.08, allocations: 1.185 MB / 3.58 GB, free: 37.82 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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.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.01046/10.09, allocations: 1.473 MB / 3.582 GB, free: 37.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002924/10.09, allocations: 0.8734 MB / 3.583 GB, free: 37.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/10.09, allocations: 0.5 kB / 3.583 GB, free: 37.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/10.09, allocations: 0.5247 MB / 3.583 GB, free: 37.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/10.1, allocations: 205 kB / 3.583 GB, free: 37.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1191/10.22, allocations: 39.57 MB / 3.622 GB, free: 35.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/10.22, allocations: 0.9975 MB / 3.623 GB, free: 34.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001395/10.22, allocations: 0.5203 MB / 3.624 GB, free: 34.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/10.22, allocations: 48.39 kB / 3.624 GB, free: 34.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/10.22, allocations: 4 kB / 3.624 GB, free: 34.61 MB / 490.7 MB Notification: Performance of Templates: time 0.07341/10.29, allocations: 35.08 MB / 3.658 GB, free: 32.75 MB / 490.7 MB