Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002695/0.002699, allocations: 363.1 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.768/3.768, 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.003539/0.003539, allocations: 232.6 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.5679/0.5679, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004734, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6488/0.753, allocations: 215.5 MB / 0.8905 GB, free: 3.293 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.7534, allocations: 92.44 kB / 0.8906 GB, free: 3.242 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.491/3.245, allocations: 470.2 MB / 1.35 GB, free: 68.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.37e-06/3.245, allocations: 3.875 kB / 1.35 GB, free: 68.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001311/3.245, allocations: 38.17 kB / 1.35 GB, free: 68.98 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007869/3.253, allocations: 2.046 MB / 1.352 GB, free: 67.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/3.253, allocations: 14.97 kB / 1.352 GB, free: 67.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004864/3.258, allocations: 354.6 kB / 1.352 GB, free: 67.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/3.261, allocations: 0.9037 MB / 1.353 GB, free: 66.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/3.261, allocations: 64.06 kB / 1.353 GB, free: 66.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/3.261, allocations: 83.02 kB / 1.353 GB, free: 66.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004555/3.266, allocations: 1.238 MB / 1.354 GB, free: 65.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/3.266, allocations: 3.938 kB / 1.354 GB, free: 65.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/3.266, allocations: 42.95 kB / 1.354 GB, free: 65.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/3.266, allocations: 27.09 kB / 1.354 GB, free: 65.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004638/3.271, allocations: 0.9979 MB / 1.355 GB, free: 64.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/3.282, allocations: 6.247 MB / 1.362 GB, free: 57.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/3.285, allocations: 0.6383 MB / 1.362 GB, free: 56.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/3.286, allocations: 307.1 kB / 1.362 GB, free: 56.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000575/3.287, allocations: 0.764 MB / 1.363 GB, free: 55.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/3.287, allocations: 35 kB / 1.363 GB, free: 55.66 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001006/3.288, allocations: 107.1 kB / 1.363 GB, free: 55.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.537e-06/3.288, allocations: 0 / 1.363 GB, free: 55.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.009131/3.297, allocations: 1.475 MB / 1.365 GB, free: 54.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/3.297, allocations: 188.3 kB / 1.365 GB, free: 53.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/3.298, allocations: 0.8714 MB / 1.366 GB, free: 52.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/3.299, allocations: 29.7 kB / 1.366 GB, free: 52.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/3.299, allocations: 0.6088 MB / 1.366 GB, free: 52.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/3.299, allocations: 172.1 kB / 1.367 GB, free: 52.13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.344e-05/3.299, allocations: 20 kB / 1.367 GB, free: 52.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/3.299, allocations: 349.4 kB / 1.367 GB, free: 51.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/3.301, allocations: 349.8 kB / 1.367 GB, free: 51.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/3.302, allocations: 0.7046 MB / 1.368 GB, free: 50.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/3.304, allocations: 449.8 kB / 1.368 GB, free: 50.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/3.304, allocations: 4 kB / 1.368 GB, free: 50.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004173/3.308, allocations: 1.268 MB / 1.37 GB, free: 48.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002241/3.308, allocations: 404.2 kB / 1.37 GB, free: 48.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/3.308, allocations: 12 kB / 1.37 GB, free: 48.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009111/3.317, allocations: 0.7684 MB / 1.371 GB, free: 47.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/3.319, allocations: 287.6 kB / 1.371 GB, free: 47.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/3.321, allocations: 0.7941 MB / 1.372 GB, free: 46.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/3.323, allocations: 103.9 kB / 1.372 GB, free: 46.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/3.323, allocations: 79.95 kB / 1.372 GB, free: 46.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/3.323, allocations: 7.188 kB / 1.372 GB, free: 46.23 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00403/3.327, allocations: 1.099 MB / 1.373 GB, free: 45.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/3.327, allocations: 12.66 kB / 1.373 GB, free: 45.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/3.328, allocations: 84.81 kB / 1.373 GB, free: 45.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/3.33, allocations: 307.5 kB / 1.374 GB, free: 44.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/3.332, allocations: 1.657 MB / 1.375 GB, free: 42.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/3.334, allocations: 95.8 kB / 1.375 GB, free: 42.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/3.334, allocations: 71.97 kB / 1.375 GB, free: 42.79 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007736/3.335, allocations: 336.8 kB / 1.376 GB, free: 42.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/3.335, allocations: 106.7 kB / 1.376 GB, free: 42.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006079/3.341, allocations: 1.67 MB / 1.377 GB, free: 40.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/3.341, allocations: 4 kB / 1.377 GB, free: 40.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/3.341, allocations: 4 kB / 1.377 GB, free: 40.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/3.341, allocations: 7.984 kB / 1.377 GB, free: 40.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/3.347, allocations: 1.813 MB / 1.379 GB, free: 38.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/3.347, allocations: 0 / 1.379 GB, free: 38.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008858/3.348, allocations: 131.4 kB / 1.379 GB, free: 38.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004843/3.352, allocations: 0.5842 MB / 1.38 GB, free: 38.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/3.353, allocations: 27.98 kB / 1.38 GB, free: 38.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/3.354, allocations: 0.8059 MB / 1.381 GB, free: 37.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/3.354, allocations: 4 kB / 1.381 GB, free: 37.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/3.357, allocations: 1.003 MB / 1.382 GB, free: 36.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007615/3.358, allocations: 307.4 kB / 1.382 GB, free: 35.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/3.358, allocations: 20 kB / 1.382 GB, free: 35.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/3.359, allocations: 79.8 kB / 1.382 GB, free: 35.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/3.359, allocations: 48.48 kB / 1.382 GB, free: 35.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-05/3.359, allocations: 31.98 kB / 1.382 GB, free: 35.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001108/3.361, allocations: 0.5894 MB / 1.383 GB, free: 35.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.361, allocations: 4 kB / 1.383 GB, free: 35.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004567/3.365, allocations: 1.027 MB / 1.384 GB, free: 34.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002915/3.368, allocations: 0.7989 MB / 1.384 GB, free: 33.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007953/3.376, allocations: 1.555 MB / 1.386 GB, free: 31.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/3.376, allocations: 0 / 1.386 GB, free: 31.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/3.379, allocations: 395.7 kB / 1.386 GB, free: 31.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005594/3.384, allocations: 442.5 kB / 1.387 GB, free: 30.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/3.392, allocations: 2.868 MB / 1.39 GB, free: 28.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/3.392, allocations: 1.094 MB / 1.391 GB, free: 26.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003395/3.396, allocations: 0.7889 MB / 1.391 GB, free: 26.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/3.396, allocations: 118.8 kB / 1.392 GB, free: 26.09 MB / 474.7 MB Notification: Performance of SimCode: time 2.064e-06/3.396, allocations: 0 / 1.392 GB, free: 26.09 MB / 474.7 MB Notification: Performance of Templates: time 0.06558/3.462, allocations: 25.21 MB / 1.416 GB, free: 1.211 MB / 474.7 MB