Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") 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.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 111.3 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 198.9 kB / 18.02 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1965/0.1965, allocations: 43.54 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.111, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.3178/0.4288, allocations: 59.8 MB / 0.547 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.4407, allocations: 7.364 MB / 0.5541 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.4421, allocations: 42.28 kB / 0.5542 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.4434, allocations: 0.5195 MB / 0.5547 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009309/0.4527, allocations: 3.858 MB / 0.5585 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.4575, allocations: 2.189 MB / 0.5606 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.4609, allocations: 2.895 MB / 0.5634 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.462, allocations: 0.9641 MB / 0.5644 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00561/0.4677, allocations: 4.277 MB / 0.5685 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003649/0.4713, allocations: 2.588 MB / 0.5711 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.4716, allocations: 107.2 kB / 0.5712 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/0.4785, allocations: 3.602 MB / 0.5747 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.4789, allocations: 331.8 kB / 0.575 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008473/0.4797, allocations: 0.6909 MB / 0.5757 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.4838, allocations: 2.77 MB / 0.5784 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4838, allocations: 0 / 0.5784 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4838, allocations: 0 / 0.5784 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.4839, allocations: 0 / 0.5784 GB, free: 10.48 MB / 430.1 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.003444/0.4873, allocations: 1.882 MB / 0.5802 GB, free: 9.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.4874, allocations: 11.52 kB / 0.5802 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/0.4902, allocations: 320.3 kB / 0.5805 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.4915, allocations: 0.8176 MB / 0.5813 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.4916, allocations: 64.5 kB / 0.5814 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.4917, allocations: 85.66 kB / 0.5815 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.4946, allocations: 1.203 MB / 0.5827 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.4946, allocations: 3.938 kB / 0.5827 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4947, allocations: 40 kB / 0.5827 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4947, allocations: 20 kB / 0.5827 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.4975, allocations: 0.9757 MB / 0.5837 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006594/0.5041, allocations: 5.413 MB / 0.589 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.5062, allocations: 0.6324 MB / 0.5896 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.5069, allocations: 334.3 kB / 0.5899 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/0.5089, allocations: 2.583 MB / 0.5924 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/0.509, allocations: 47.12 kB / 0.5925 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004326/0.5094, allocations: 91.05 kB / 0.5926 GB, free: 12.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=65): time 3.095e-06/0.5094, allocations: 0 / 0.5926 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.006182/0.5156, allocations: 1.63 MB / 0.5941 GB, free: 10.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.529e-05/0.5157, allocations: 192.4 kB / 0.5943 GB, free: 10.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.5169, allocations: 0.9735 MB / 0.5953 GB, free: 9.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.742e-05/0.517, allocations: 41.55 kB / 0.5953 GB, free: 9.191 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.5174, allocations: 0.4959 MB / 0.5958 GB, free: 8.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.5176, allocations: 234 kB / 0.596 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.518, allocations: 214.4 kB / 0.5962 GB, free: 8.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5181, allocations: 334 kB / 0.5965 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008305/0.5189, allocations: 352.6 kB / 0.5969 GB, free: 7.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.52, allocations: 0.5475 MB / 0.5974 GB, free: 6.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.5219, allocations: 0.8693 MB / 0.5983 GB, free: 6.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5219, allocations: 0 / 0.5983 GB, free: 6.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002476/0.5243, allocations: 1.165 MB / 0.5994 GB, free: 4.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5244, allocations: 4 kB / 0.5994 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5244, allocations: 12.06 kB / 0.5994 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006117/0.5305, allocations: 0.7814 MB / 0.6002 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/0.5315, allocations: 255.5 kB / 0.6004 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009399/0.5324, allocations: 0.7859 MB / 0.6012 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008748/0.5333, allocations: 48.02 kB / 0.6012 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.5335, allocations: 85.2 kB / 0.6013 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001035/0.5345, allocations: 0.4979 MB / 0.6018 GB, free: 2.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009493/0.5355, allocations: 0.5556 MB / 0.6024 GB, free: 1.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00166/0.5371, allocations: 0.8539 MB / 0.6032 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/0.5372, allocations: 4 kB / 0.6032 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.00247/0.5396, allocations: 1.113 MB / 0.6043 GB, free: 15.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.5397, allocations: 11.98 kB / 0.6043 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.5397, allocations: 4 kB / 0.6043 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.54, allocations: 80.02 kB / 0.6044 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/0.541, allocations: 275.8 kB / 0.6046 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.5427, allocations: 1.832 MB / 0.6064 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/0.5436, allocations: 43.97 kB / 0.6065 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.5437, allocations: 88.64 kB / 0.6065 GB, free: 13.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.5441, allocations: 232 kB / 0.6068 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.5443, allocations: 118.6 kB / 0.6069 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/0.5479, allocations: 1.779 MB / 0.6086 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5479, allocations: 7.984 kB / 0.6086 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5479, allocations: 0 / 0.6086 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.5484, allocations: 279.4 kB / 0.6089 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.5485, allocations: 23.88 kB / 0.6089 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/0.5492, allocations: 43.95 kB / 0.609 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.5494, allocations: 48.5 kB / 0.609 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002399/0.5518, allocations: 0.936 MB / 0.6099 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002488/0.5543, allocations: 1.253 MB / 0.6111 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006449/0.5549, allocations: 292.1 kB / 0.6114 GB, free: 8.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009411/0.5559, allocations: 0.7495 MB / 0.6122 GB, free: 7.359 MB / 462.1 MB Notification: Performance of Backend: time 5.11e-07/0.5559, allocations: 4 kB / 0.6122 GB, free: 7.355 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005357/0.5613, allocations: 2.036 MB / 0.6141 GB, free: 5.355 MB / 462.1 MB Notification: Performance of SimCode: time 0.004676/0.566, allocations: 2.723 MB / 0.6168 GB, free: 2.586 MB / 462.1 MB Notification: Performance of Templates: time 0.05848/0.6245, allocations: 38.11 MB / 0.654 GB, free: 12.48 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1)