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.001342/0.001342, allocations: 106.9 kB / 17.09 MB, free: 6.012 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.001124/0.001124, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.417/1.417, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.1984/0.1984, allocations: 43.53 MB / 314.8 MB, free: 472 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.00153/0.00153, allocations: 67.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.3138/0.4243, allocations: 59.8 MB / 0.547 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.436, allocations: 7.366 MB / 0.5542 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.4376, allocations: 41.78 kB / 0.5542 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.4393, allocations: 0.5172 MB / 0.5547 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00982/0.4492, allocations: 3.81 MB / 0.5584 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004885/0.4541, allocations: 2.173 MB / 0.5605 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.4581, allocations: 2.9 MB / 0.5634 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.4597, allocations: 0.9559 MB / 0.5643 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006113/0.4658, allocations: 4.281 MB / 0.5685 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.4696, allocations: 2.578 MB / 0.571 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.47, allocations: 108.1 kB / 0.5711 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006836/0.4769, allocations: 3.614 MB / 0.5746 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.4773, allocations: 330.2 kB / 0.575 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.4785, allocations: 0.6861 MB / 0.5756 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004945/0.4834, allocations: 2.763 MB / 0.5783 GB, free: 10.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4835, allocations: 15.92 kB / 0.5783 GB, free: 10.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4835, allocations: 0 / 0.5783 GB, free: 10.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.941e-05/0.4835, allocations: 0 / 0.5783 GB, free: 10.28 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.003542/0.4871, allocations: 1.869 MB / 0.5802 GB, free: 8.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4871, allocations: 13.86 kB / 0.5802 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/0.4898, allocations: 314.4 kB / 0.5805 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.4911, allocations: 0.8228 MB / 0.5813 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.4911, allocations: 66.5 kB / 0.5813 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.4913, allocations: 83.66 kB / 0.5814 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.494, allocations: 1.209 MB / 0.5826 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.494, allocations: 0 / 0.5826 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4941, allocations: 36 kB / 0.5826 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.4941, allocations: 24 kB / 0.5827 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.4967, allocations: 0.9795 MB / 0.5836 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005869/0.5026, allocations: 5.414 MB / 0.5889 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.5045, allocations: 0.6257 MB / 0.5895 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.5051, allocations: 338.3 kB / 0.5898 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/0.507, allocations: 2.584 MB / 0.5924 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.5071, allocations: 47.12 kB / 0.5924 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00038/0.5075, allocations: 87.06 kB / 0.5925 GB, free: 12.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=65): time 2.885e-06/0.5075, allocations: 0 / 0.5925 GB, free: 12.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.005903/0.5134, allocations: 1.635 MB / 0.5941 GB, free: 10.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.5135, allocations: 188.5 kB / 0.5943 GB, free: 10.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5147, allocations: 0.9735 MB / 0.5952 GB, free: 9.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/0.5148, allocations: 41.7 kB / 0.5953 GB, free: 9.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.5152, allocations: 0.498 MB / 0.5957 GB, free: 8.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.5153, allocations: 226.9 kB / 0.596 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.5157, allocations: 218.3 kB / 0.5962 GB, free: 8.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5158, allocations: 338 kB / 0.5965 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.5165, allocations: 352.6 kB / 0.5968 GB, free: 7.492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009812/0.5175, allocations: 0.5436 MB / 0.5974 GB, free: 6.867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.5193, allocations: 0.8615 MB / 0.5982 GB, free: 5.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5193, allocations: 4 kB / 0.5982 GB, free: 5.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002461/0.5218, allocations: 1.172 MB / 0.5993 GB, free: 4.758 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.5218, allocations: 8 kB / 0.5994 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5218, allocations: 4 kB / 0.5994 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005943/0.5278, allocations: 0.785 MB / 0.6001 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/0.5286, allocations: 259.6 kB / 0.6004 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008528/0.5295, allocations: 0.7826 MB / 0.6011 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.5303, allocations: 43.97 kB / 0.6012 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.5305, allocations: 90.33 kB / 0.6013 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009712/0.5315, allocations: 0.5018 MB / 0.6018 GB, free: 2.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000872/0.5324, allocations: 0.5556 MB / 0.6023 GB, free: 1.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00154/0.5339, allocations: 0.8539 MB / 0.6031 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.416e-06/0.5339, allocations: 0 / 0.6031 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.002359/0.5363, allocations: 1.114 MB / 0.6042 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5363, allocations: 8 kB / 0.6042 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5363, allocations: 4 kB / 0.6042 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.5366, allocations: 85.23 kB / 0.6043 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.5375, allocations: 271.6 kB / 0.6046 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.5392, allocations: 1.82 MB / 0.6063 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.54, allocations: 52.03 kB / 0.6064 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5401, allocations: 83.95 kB / 0.6065 GB, free: 13.11 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.0002877/0.5404, allocations: 232 kB / 0.6067 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.5407, allocations: 118.6 kB / 0.6068 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.5441, allocations: 1.791 MB / 0.6086 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5441, allocations: 7.984 kB / 0.6086 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5441, allocations: 0 / 0.6086 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.5446, allocations: 283.4 kB / 0.6088 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.5448, allocations: 15.94 kB / 0.6089 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/0.5454, allocations: 47.95 kB / 0.6089 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5455, allocations: 48.44 kB / 0.6089 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002197/0.5477, allocations: 0.9374 MB / 0.6099 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002205/0.5499, allocations: 1.253 MB / 0.6111 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005778/0.5505, allocations: 288.2 kB / 0.6114 GB, free: 8.031 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009259/0.5514, allocations: 0.7456 MB / 0.6121 GB, free: 7.281 MB / 462.1 MB Notification: Performance of Backend: time 4.01e-07/0.5515, allocations: 4 kB / 0.6121 GB, free: 7.277 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004979/0.5564, allocations: 2.034 MB / 0.6141 GB, free: 5.277 MB / 462.1 MB Notification: Performance of SimCode: time 0.004088/0.5605, allocations: 2.735 MB / 0.6167 GB, free: 2.496 MB / 462.1 MB Notification: Performance of Templates: time 0.05965/0.6202, allocations: 38.83 MB / 0.6547 GB, free: 11.67 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)