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.002785/0.00279, allocations: 371.6 kB / 15.96 MB, free: 6.199 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.78/3.78, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003569/0.003569, allocations: 234.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.5332/0.5332, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007163/0.0007166, allocations: 10.5 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.127, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.3895/0.5166, allocations: 53.14 MB / 0.732 GB, free: 13.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.5339, allocations: 7.221 MB / 0.7391 GB, free: 13.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.5362, allocations: 55.44 kB / 0.7391 GB, free: 13.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.5389, allocations: 0.5223 MB / 0.7396 GB, free: 13.16 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01215/0.5511, allocations: 3.268 MB / 0.7428 GB, free: 12.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01384/0.5649, allocations: 3.415 MB / 0.7462 GB, free: 12.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005376/0.5703, allocations: 3.201 MB / 0.7493 GB, free: 11.03 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.5723, allocations: 0.7651 MB / 0.75 GB, free: 10.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00988/0.5822, allocations: 4.41 MB / 0.7543 GB, free: 9.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006258/0.5885, allocations: 2.666 MB / 0.7569 GB, free: 8.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004442/0.589, allocations: 60.64 kB / 0.757 GB, free: 8.027 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009551/0.5986, allocations: 3.408 MB / 0.7603 GB, free: 6.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005408/0.5992, allocations: 259.7 kB / 0.7606 GB, free: 6.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000672/0.5999, allocations: 261.1 kB / 0.7608 GB, free: 5.883 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004488/0.6044, allocations: 1.9 MB / 0.7627 GB, free: 4.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.6044, allocations: 0 / 0.7627 GB, free: 4.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6044, allocations: 0 / 0.7627 GB, free: 4.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.6045, allocations: 0 / 0.7627 GB, free: 4.117 MB / 346.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.004532/0.609, allocations: 1.626 MB / 0.7643 GB, free: 2.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.6091, allocations: 8.031 kB / 0.7643 GB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.6125, allocations: 321.5 kB / 0.7646 GB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.6144, allocations: 0.7808 MB / 0.7653 GB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/0.6146, allocations: 66 kB / 0.7654 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.6148, allocations: 80 kB / 0.7655 GB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/0.6193, allocations: 1.213 MB / 0.7667 GB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.6194, allocations: 7.875 kB / 0.7667 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.6196, allocations: 40 kB / 0.7667 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.6197, allocations: 20 kB / 0.7667 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/0.6248, allocations: 1.019 MB / 0.7677 GB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.6401, allocations: 8.188 MB / 0.7757 GB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.6434, allocations: 0.6285 MB / 0.7763 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.6448, allocations: 304.7 kB / 0.7766 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.6471, allocations: 1.865 MB / 0.7784 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.6472, allocations: 43 kB / 0.7785 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008857/0.6481, allocations: 90.77 kB / 0.7786 GB, free: 2.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 4.789e-06/0.6481, allocations: 0 / 0.7786 GB, free: 2.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.01111/0.6592, allocations: 1.522 MB / 0.7801 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.6594, allocations: 192.3 kB / 0.7802 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.6612, allocations: 0.8714 MB / 0.7811 GB, free: 15.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.6614, allocations: 37.7 kB / 0.7811 GB, free: 15.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/0.6621, allocations: 0.5947 MB / 0.7817 GB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.6624, allocations: 177.3 kB / 0.7819 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.6626, allocations: 18.62 kB / 0.7819 GB, free: 14.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.6627, allocations: 345.9 kB / 0.7822 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.6642, allocations: 365.8 kB / 0.7826 GB, free: 14.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.6661, allocations: 0.7046 MB / 0.7833 GB, free: 13.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.668, allocations: 461.8 kB / 0.7837 GB, free: 12.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.668, allocations: 7.938 kB / 0.7837 GB, free: 12.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005002/0.673, allocations: 1.288 MB / 0.785 GB, free: 11.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.6734, allocations: 403.7 kB / 0.7854 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.6735, allocations: 12 kB / 0.7854 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009745/0.6832, allocations: 0.773 MB / 0.7861 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.6853, allocations: 303.5 kB / 0.7864 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.6869, allocations: 0.7976 MB / 0.7872 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.6888, allocations: 91.86 kB / 0.7873 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/0.6891, allocations: 104 kB / 0.7874 GB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6892, allocations: 4 kB / 0.7874 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004413/0.6936, allocations: 1.123 MB / 0.7885 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.6937, allocations: 12 kB / 0.7885 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/0.6942, allocations: 80.81 kB / 0.7886 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.6964, allocations: 317.2 kB / 0.7889 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.699, allocations: 1.646 MB / 0.7905 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.7006, allocations: 88 kB / 0.7906 GB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.7009, allocations: 95.91 kB / 0.7906 GB, free: 5.488 MB / 378.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.0007866/0.7017, allocations: 335.2 kB / 0.791 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.7021, allocations: 106.6 kB / 0.7911 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005916/0.708, allocations: 1.315 MB / 0.7924 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/0.7081, allocations: 7.984 kB / 0.7924 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7081, allocations: 0 / 0.7924 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/0.7089, allocations: 295.5 kB / 0.7926 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.7092, allocations: 11.94 kB / 0.7927 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7102, allocations: 71.89 kB / 0.7927 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.7104, allocations: 56.44 kB / 0.7928 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004284/0.7147, allocations: 0.9842 MB / 0.7937 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004339/0.719, allocations: 1.285 MB / 0.795 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001164/0.7202, allocations: 296.3 kB / 0.7953 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001329/0.7216, allocations: 0.6052 MB / 0.7959 GB, free: 124 kB / 378.7 MB Notification: Performance of Backend: time 6.71e-07/0.7216, allocations: 0 / 0.7959 GB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008504/0.7301, allocations: 2.118 MB / 0.7979 GB, free: 14.05 MB / 394.7 MB Notification: Performance of SimCode: time 0.007256/0.7374, allocations: 2.92 MB / 0.8008 GB, free: 11.09 MB / 394.7 MB Notification: Performance of Templates: time 0.08549/0.8229, allocations: 31.31 MB / 0.8314 GB, free: 11.91 MB / 426.7 MB