Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001391/0.001392, allocations: 192.3 kB / 16.25 MB, free: 6.148 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.572/1.572, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.334/0.334, allocations: 37.98 MB / 307.4 MB, free: 10.13 MB / 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 70.47 kB / 374.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1451, allocations: 56.47 MB / 431.2 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.004012/0.1491, allocations: 2.478 MB / 433.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1519, allocations: 1.706 MB / 435.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1521, allocations: 0 / 435.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.1526, allocations: 111.6 kB / 435.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.153, allocations: 179 kB / 435.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.1536, allocations: 299.2 kB / 436 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009867/0.1546, allocations: 1.138 MB / 437.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.1549, allocations: 207.6 kB / 437.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.1554, allocations: 485.1 kB / 437.8 MB, free: 308 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006422/0.156, allocations: 0.5982 MB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.243e-05/0.1561, allocations: 44 kB / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1574, allocations: 0.9048 MB / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.1577, allocations: 294.3 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.1582, allocations: 0.5815 MB / 440.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.1601, allocations: 1.841 MB / 442.1 MB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1602, allocations: 0 / 442.1 MB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1602, allocations: 4 kB / 442.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.1602, allocations: 3.938 kB / 442.1 MB, free: 12.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.002544/0.1627, allocations: 1.742 MB / 443.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.1628, allocations: 15.89 kB / 443.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.1631, allocations: 174.7 kB / 444 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/0.164, allocations: 0.623 MB / 444.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.1641, allocations: 144.1 kB / 444.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.1643, allocations: 184.1 kB / 444.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.1679, allocations: 2.79 MB / 447.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.168, allocations: 0 / 447.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.1681, allocations: 75.98 kB / 447.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/0.1683, allocations: 168.4 kB / 448 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005275/0.1736, allocations: 3.734 MB / 451.7 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2646/0.4382, allocations: 6.666 MB / 458.4 MB, free: 51.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4394, allocations: 0.6679 MB / 459 MB, free: 51.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.4398, allocations: 261.2 kB / 459.3 MB, free: 51.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.154e-05/0.4399, allocations: 31.42 kB / 459.3 MB, free: 51.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.44, allocations: 41.66 kB / 459.4 MB, free: 51.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.125e-06/0.44, allocations: 0 / 459.4 MB, free: 51.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001675/0.4417, allocations: 0.9471 MB / 460.3 MB, free: 50.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.4417, allocations: 58.62 kB / 460.4 MB, free: 50.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.4429, allocations: 1.398 MB / 461.8 MB, free: 50.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.443, allocations: 37.48 kB / 461.8 MB, free: 50.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006041/0.4436, allocations: 1.292 MB / 463.1 MB, free: 49.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.4438, allocations: 268.9 kB / 463.4 MB, free: 49.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005573/0.4444, allocations: 0.646 MB / 464 MB, free: 48.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.4444, allocations: 316.7 kB / 464.3 MB, free: 48.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009002/0.4453, allocations: 0.687 MB / 465 MB, free: 48.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.447, allocations: 2.757 MB / 467.8 MB, free: 45.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/0.4503, allocations: 3.762 MB / 471.5 MB, free: 41.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.082e-05/0.4504, allocations: 18.53 kB / 471.5 MB, free: 41.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.004702/0.4551, allocations: 3.265 MB / 474.8 MB, free: 40.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.4552, allocations: 37.84 kB / 474.8 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.365e-05/0.4552, allocations: 77.06 kB / 474.9 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001105/0.4554, allocations: 96.19 kB / 475 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.4574, allocations: 0.8774 MB / 475.9 MB, free: 40.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.4594, allocations: 6.059 MB / 481.9 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.4613, allocations: 429.2 kB / 482.4 MB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.4615, allocations: 216.1 kB / 482.6 MB, free: 34.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000835/0.4624, allocations: 0.7169 MB / 483.3 MB, free: 33.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.4625, allocations: 117.7 kB / 483.4 MB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.465, allocations: 1.225 MB / 484.6 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.465, allocations: 8.875 kB / 484.6 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.465, allocations: 4 kB / 484.6 MB, free: 33.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.465, allocations: 6.234 kB / 484.6 MB, free: 33.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.4662, allocations: 0.9526 MB / 485.6 MB, free: 33.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4662, allocations: 0 / 485.6 MB, free: 33.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.4671, allocations: 324.3 kB / 485.9 MB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.4671, allocations: 3.281 kB / 485.9 MB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.4672, allocations: 35.66 kB / 486 MB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.4688, allocations: 5.916 MB / 491.9 MB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4688, allocations: 4.094 kB / 491.9 MB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.47, allocations: 0.8843 MB / 492.8 MB, free: 26.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.4703, allocations: 266.3 kB / 493 MB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.4705, allocations: 15.06 kB / 493 MB, free: 26.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.4708, allocations: 29.64 kB / 493.1 MB, free: 26.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.471, allocations: 69.42 kB / 493.1 MB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.471, allocations: 38 kB / 493.2 MB, free: 26.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008326/0.4719, allocations: 0.7944 MB / 494 MB, free: 26.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.4719, allocations: 0 / 494 MB, free: 26.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002043/0.4739, allocations: 0.4895 MB / 494.4 MB, free: 26.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004068/0.4743, allocations: 203.4 kB / 494.6 MB, free: 25.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004092/0.4784, allocations: 2.214 MB / 496.9 MB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4785, allocations: 4 kB / 496.9 MB, free: 25.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.4797, allocations: 0.4997 MB / 497.4 MB, free: 25.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.4803, allocations: 96.75 kB / 497.5 MB, free: 25.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.4846, allocations: 3.245 MB / 0.489 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008894/0.4855, allocations: 1.449 MB / 0.4904 GB, free: 22.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002686/0.4882, allocations: 0.9561 MB / 0.4913 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.4885, allocations: 135.9 kB / 0.4914 GB, free: 22.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4885, allocations: 0 / 0.4914 GB, free: 22.52 MB / 382.1 MB Notification: Performance of Templates: time 0.0315/0.52, allocations: 14.01 MB / 0.5051 GB, free: 19.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1)