Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.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.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003964/0.003963, allocations: 354.8 kB / 15.95 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.41/3.41, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003632/0.003631, allocations: 220 kB / 397.9 MB, free: 6.156 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4785/0.4785, allocations: 76.1 MB / 0.5014 GB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004938, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08762, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.401/0.4887, allocations: 53.11 MB / 0.6586 GB, free: 12.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.5062, allocations: 7.24 MB / 0.6657 GB, free: 12.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.5085, allocations: 55.31 kB / 0.6657 GB, free: 12.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.5113, allocations: 0.522 MB / 0.6663 GB, free: 12.49 MB / 314.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1+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.0123/0.5237, allocations: 3.275 MB / 0.6695 GB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.5368, allocations: 3.417 MB / 0.6728 GB, free: 11.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005721/0.5426, allocations: 3.207 MB / 0.6759 GB, free: 10.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.5446, allocations: 0.7618 MB / 0.6767 GB, free: 10.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008623/0.5533, allocations: 4.121 MB / 0.6807 GB, free: 8.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005232/0.5585, allocations: 2.541 MB / 0.6832 GB, free: 8.188 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004119/0.559, allocations: 52.66 kB / 0.6832 GB, free: 8.188 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009416/0.5684, allocations: 3.26 MB / 0.6864 GB, free: 5.645 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006822/0.5692, allocations: 261.5 kB / 0.6867 GB, free: 5.473 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006309/0.5698, allocations: 267.2 kB / 0.6869 GB, free: 5.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.5742, allocations: 1.904 MB / 0.6888 GB, free: 3.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.5743, allocations: 0 / 0.6888 GB, free: 3.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5743, allocations: 2.406 kB / 0.6888 GB, free: 3.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.5743, allocations: 0 / 0.6888 GB, free: 3.605 MB / 314.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.00465/0.579, allocations: 1.623 MB / 0.6904 GB, free: 1.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5791, allocations: 12.03 kB / 0.6904 GB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.5825, allocations: 309.2 kB / 0.6907 GB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.5842, allocations: 0.7835 MB / 0.6914 GB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.5843, allocations: 58 kB / 0.6915 GB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.5845, allocations: 84 kB / 0.6916 GB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004738/0.5893, allocations: 1.221 MB / 0.6928 GB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.5894, allocations: 4 kB / 0.6928 GB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.5896, allocations: 36 kB / 0.6928 GB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.5896, allocations: 20 kB / 0.6928 GB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/0.5945, allocations: 1.022 MB / 0.6938 GB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.6135, allocations: 8.194 MB / 0.7018 GB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005085/0.6186, allocations: 0.6214 MB / 0.7024 GB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.6206, allocations: 309.9 kB / 0.7027 GB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002992/0.6236, allocations: 1.865 MB / 0.7045 GB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.524e-05/0.6237, allocations: 39 kB / 0.7046 GB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00124/0.625, allocations: 92.5 kB / 0.7047 GB, free: 1.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 6.432e-06/0.625, allocations: 0 / 0.7047 GB, free: 1.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.01661/0.6417, allocations: 1.53 MB / 0.7062 GB, free: 380 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.6419, allocations: 184.4 kB / 0.7063 GB, free: 152 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.6444, allocations: 0.8676 MB / 0.7072 GB, free: 15.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.6447, allocations: 37.7 kB / 0.7072 GB, free: 15.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008725/0.6456, allocations: 0.6081 MB / 0.7078 GB, free: 14.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.646, allocations: 169.2 kB / 0.708 GB, free: 14.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.6462, allocations: 20 kB / 0.708 GB, free: 14.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.6464, allocations: 345.9 kB / 0.7083 GB, free: 14.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.6487, allocations: 361.8 kB / 0.7087 GB, free: 13.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/0.6515, allocations: 0.7046 MB / 0.7094 GB, free: 12.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.6543, allocations: 451.7 kB / 0.7098 GB, free: 12.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/0.6544, allocations: 4 kB / 0.7098 GB, free: 12.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007727/0.6621, allocations: 1.288 MB / 0.711 GB, free: 11.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004882/0.6626, allocations: 410.9 kB / 0.7114 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.6627, allocations: 12 kB / 0.7114 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/0.678, allocations: 0.7744 MB / 0.7122 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/0.6812, allocations: 303.5 kB / 0.7125 GB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.6835, allocations: 0.7966 MB / 0.7133 GB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.6864, allocations: 91.84 kB / 0.7134 GB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/0.687, allocations: 95.97 kB / 0.7135 GB, free: 8.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.687, allocations: 4 kB / 0.7135 GB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006943/0.694, allocations: 1.131 MB / 0.7146 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-05/0.6941, allocations: 8 kB / 0.7146 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/0.6949, allocations: 88.8 kB / 0.7147 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.6982, allocations: 307.9 kB / 0.7149 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.7019, allocations: 1.653 MB / 0.7166 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.7044, allocations: 95.94 kB / 0.7166 GB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004068/0.7048, allocations: 87.97 kB / 0.7167 GB, free: 4.996 MB / 346.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.001137/0.706, allocations: 341.7 kB / 0.7171 GB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/0.7065, allocations: 106.7 kB / 0.7172 GB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009228/0.7157, allocations: 1.311 MB / 0.7184 GB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/0.7158, allocations: 7.938 kB / 0.7184 GB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.7159, allocations: 3.938 kB / 0.7185 GB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.717, allocations: 291.5 kB / 0.7187 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000474/0.7175, allocations: 16 kB / 0.7187 GB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.719, allocations: 63.94 kB / 0.7188 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.7193, allocations: 48.5 kB / 0.7189 GB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006533/0.7259, allocations: 0.9807 MB / 0.7198 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007015/0.733, allocations: 1.296 MB / 0.7211 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00125/0.7343, allocations: 300.3 kB / 0.7214 GB, free: 244 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001367/0.7357, allocations: 0.5982 MB / 0.7219 GB, free: 15.63 MB / 362.7 MB Notification: Performance of Backend: time 6.81e-07/0.7357, allocations: 0 / 0.7219 GB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008722/0.7444, allocations: 2.125 MB / 0.724 GB, free: 13.55 MB / 362.7 MB Notification: Performance of SimCode: time 0.007384/0.7519, allocations: 2.918 MB / 0.7269 GB, free: 10.59 MB / 362.7 MB Notification: Performance of Templates: time 0.08386/0.8358, allocations: 31.3 MB / 0.7574 GB, free: 11.39 MB / 394.7 MB