Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001692/0.001692, allocations: 105.5 kB / 18.45 MB, free: 4.59 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.001817/0.001818, allocations: 184.3 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2609/0.2609, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3132, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.05345/0.3667, allocations: 51.72 MB / 0.5701 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.3817, allocations: 7.384 MB / 0.5773 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.3843, allocations: 43.62 kB / 0.5773 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.3864, allocations: 0.5158 MB / 0.5779 GB, free: 236 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008579/0.395, allocations: 3.163 MB / 0.5809 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005004/0.4, allocations: 2.189 MB / 0.5831 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.4038, allocations: 2.905 MB / 0.5859 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.4053, allocations: 0.9584 MB / 0.5869 GB, free: 7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005918/0.4113, allocations: 4.288 MB / 0.591 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.415, allocations: 2.579 MB / 0.5936 GB, free: 120 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004044/0.4154, allocations: 108 kB / 0.5937 GB, free: 12 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005139/0.4206, allocations: 2.882 MB / 0.5965 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.4211, allocations: 338.8 kB / 0.5968 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.4221, allocations: 0.692 MB / 0.5975 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.4261, allocations: 2.371 MB / 0.5998 GB, free: 9.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4262, allocations: 0 / 0.5998 GB, free: 9.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4262, allocations: 4 kB / 0.5998 GB, free: 9.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.844e-05/0.4262, allocations: 0 / 0.5998 GB, free: 9.711 MB / 462.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.003564/0.4298, allocations: 1.843 MB / 0.6016 GB, free: 7.809 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4298, allocations: 12.03 kB / 0.6016 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.4327, allocations: 323.9 kB / 0.6019 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.434, allocations: 0.8312 MB / 0.6027 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.4341, allocations: 66 kB / 0.6028 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4342, allocations: 76 kB / 0.6029 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.4372, allocations: 1.196 MB / 0.604 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.4372, allocations: 4 kB / 0.604 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.4373, allocations: 39.98 kB / 0.6041 GB, free: 5.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.4373, allocations: 24 kB / 0.6041 GB, free: 5.137 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.44, allocations: 0.9756 MB / 0.605 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006079/0.4461, allocations: 5.397 MB / 0.6103 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.4483, allocations: 0.6222 MB / 0.6109 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/0.449, allocations: 338.3 kB / 0.6112 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009258/0.45, allocations: 1.386 MB / 0.6126 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.45, allocations: 43.12 kB / 0.6126 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004275/0.4505, allocations: 103.2 kB / 0.6127 GB, free: 11.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=65): time 3.286e-06/0.4505, allocations: 0 / 0.6127 GB, free: 11.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.006273/0.4568, allocations: 1.632 MB / 0.6143 GB, free: 9.863 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.4569, allocations: 192.5 kB / 0.6145 GB, free: 9.633 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.458, allocations: 0.9735 MB / 0.6155 GB, free: 8.645 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.4581, allocations: 41.7 kB / 0.6155 GB, free: 8.598 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.4586, allocations: 0.5084 MB / 0.616 GB, free: 8.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.4587, allocations: 230 kB / 0.6162 GB, free: 7.859 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.4591, allocations: 210.5 kB / 0.6164 GB, free: 7.645 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4593, allocations: 341.9 kB / 0.6167 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/0.4601, allocations: 340.6 kB / 0.6171 GB, free: 6.969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4612, allocations: 0.5397 MB / 0.6176 GB, free: 6.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.4629, allocations: 0.8576 MB / 0.6184 GB, free: 5.418 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.463, allocations: 8 kB / 0.6184 GB, free: 5.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002554/0.4655, allocations: 1.149 MB / 0.6196 GB, free: 4.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4655, allocations: 4 kB / 0.6196 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4656, allocations: 8.5 kB / 0.6196 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00592/0.4715, allocations: 0.7499 MB / 0.6203 GB, free: 3.484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.4724, allocations: 243.6 kB / 0.6205 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009435/0.4733, allocations: 0.7824 MB / 0.6213 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.4742, allocations: 56 kB / 0.6214 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4743, allocations: 63.97 kB / 0.6214 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00105/0.4754, allocations: 0.494 MB / 0.6219 GB, free: 1.824 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008976/0.4763, allocations: 0.5362 MB / 0.6224 GB, free: 1.195 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001601/0.4779, allocations: 0.8422 MB / 0.6233 GB, free: 284 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.4779, allocations: 0 / 0.6233 GB, free: 284 kB / 478.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.002403/0.4803, allocations: 1.11 MB / 0.6243 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4803, allocations: 8 kB / 0.6243 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4803, allocations: 4 kB / 0.6243 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.4807, allocations: 80.78 kB / 0.6244 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009116/0.4816, allocations: 259.7 kB / 0.6247 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4835, allocations: 1.826 MB / 0.6265 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000785/0.4843, allocations: 51.89 kB / 0.6265 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4844, allocations: 63.91 kB / 0.6266 GB, free: 12.73 MB / 494.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.0003097/0.4847, allocations: 228.2 kB / 0.6268 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.485, allocations: 123.2 kB / 0.6269 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.4889, allocations: 2.089 MB / 0.6289 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.4889, allocations: 3.984 kB / 0.6289 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4889, allocations: 4 kB / 0.6289 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.4893, allocations: 272.2 kB / 0.6292 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.4895, allocations: 19.89 kB / 0.6292 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.4902, allocations: 47.95 kB / 0.6293 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4903, allocations: 48.44 kB / 0.6293 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002333/0.4927, allocations: 0.927 MB / 0.6302 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002333/0.495, allocations: 1.25 MB / 0.6314 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006363/0.4956, allocations: 280.3 kB / 0.6317 GB, free: 7.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009389/0.4966, allocations: 0.7457 MB / 0.6324 GB, free: 6.605 MB / 494.1 MB Notification: Performance of Backend: time 2.9e-07/0.4966, allocations: 0 / 0.6324 GB, free: 6.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004561/0.5012, allocations: 1.787 MB / 0.6342 GB, free: 4.809 MB / 494.1 MB Notification: Performance of SimCode: time 0.004371/0.5056, allocations: 2.738 MB / 0.6369 GB, free: 2.012 MB / 494.1 MB Notification: Performance of Templates: time 0.05406/0.5596, allocations: 35.01 MB / 0.671 GB, free: 15.26 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1)