Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001134/0.001134, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001455/0.001455, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3961/0.3961, allocations: 39.99 MB / 310.4 MB, free: 9.953 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.2. 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.0006165/0.0006169, allocations: 15.98 kB / 378.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1532, allocations: 57.96 MB / 436.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.002827/0.1561, allocations: 2.043 MB / 438.9 MB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.1592, allocations: 1.579 MB / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.1595, allocations: 4 kB / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1599, allocations: 91.45 kB / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004569/0.1604, allocations: 179 kB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.1611, allocations: 271.2 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1622, allocations: 1.134 MB / 442.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.1625, allocations: 211.5 kB / 442.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/0.1631, allocations: 421.5 kB / 442.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.1638, allocations: 0.5322 MB / 443.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.1639, allocations: 35.94 kB / 443.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1652, allocations: 0.8306 MB / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.1654, allocations: 262.5 kB / 444.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.1657, allocations: 232.8 kB / 444.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.167, allocations: 1.306 MB / 445.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1671, allocations: 0 / 445.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1671, allocations: 0 / 445.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.1671, allocations: 0 / 445.9 MB, free: 9.359 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.002126/0.1692, allocations: 1.48 MB / 447.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.1693, allocations: 8.031 kB / 447.4 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.1696, allocations: 177.8 kB / 447.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.1705, allocations: 0.6216 MB / 448.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/0.1706, allocations: 139.8 kB / 448.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.1708, allocations: 184 kB / 448.5 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.1744, allocations: 2.782 MB / 451.3 MB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.1745, allocations: 0 / 451.3 MB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.1746, allocations: 79.98 kB / 451.4 MB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.1748, allocations: 164.4 kB / 451.5 MB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2478/0.4226, allocations: 3.751 MB / 455.3 MB, free: 48.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.4334, allocations: 6.551 MB / 461.8 MB, free: 46.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.4345, allocations: 0.6792 MB / 462.5 MB, free: 46.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.435, allocations: 273.6 kB / 462.8 MB, free: 46.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.4351, allocations: 29.38 kB / 462.8 MB, free: 46.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.4351, allocations: 44.75 kB / 462.9 MB, free: 46.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.837e-06/0.4352, allocations: 0 / 462.9 MB, free: 46.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002017/0.4372, allocations: 0.9818 MB / 463.8 MB, free: 46.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.4372, allocations: 62.44 kB / 463.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.4391, allocations: 1.388 MB / 465.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.4392, allocations: 37.17 kB / 465.3 MB, free: 46.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009371/0.4401, allocations: 1.282 MB / 466.6 MB, free: 45.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.4403, allocations: 272.9 kB / 466.9 MB, free: 44.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4405, allocations: 60.31 kB / 466.9 MB, free: 44.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.4407, allocations: 448.4 kB / 467.4 MB, free: 44.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.4417, allocations: 0.6899 MB / 468.1 MB, free: 44.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.4436, allocations: 2.757 MB / 470.8 MB, free: 41.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.4452, allocations: 1.272 MB / 472.1 MB, free: 40.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.379e-05/0.4452, allocations: 22.16 kB / 472.1 MB, free: 40.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.004568/0.4498, allocations: 3.273 MB / 475.4 MB, free: 39.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.4499, allocations: 38.94 kB / 475.4 MB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.215e-05/0.4499, allocations: 74.31 kB / 475.5 MB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.379e-05/0.45, allocations: 106.2 kB / 475.6 MB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.4523, allocations: 0.8905 MB / 476.5 MB, free: 39.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.4546, allocations: 6.063 MB / 482.5 MB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.457, allocations: 437.3 kB / 483 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.4573, allocations: 215.8 kB / 483.2 MB, free: 33.28 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008765/0.4582, allocations: 0.7077 MB / 483.9 MB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.4583, allocations: 116.4 kB / 484 MB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.4608, allocations: 1.263 MB / 485.3 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4608, allocations: 6.125 kB / 485.3 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4609, allocations: 1.25 kB / 485.3 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4609, allocations: 10.47 kB / 485.3 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.4621, allocations: 0.9506 MB / 486.2 MB, free: 31.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4621, allocations: 0 / 486.2 MB, free: 31.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009196/0.463, allocations: 327.6 kB / 486.6 MB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.463, allocations: 6.219 kB / 486.6 MB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.4631, allocations: 33.91 kB / 486.6 MB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.4648, allocations: 5.93 MB / 492.5 MB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4648, allocations: 3.125 kB / 492.5 MB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.466, allocations: 0.9047 MB / 493.4 MB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.4663, allocations: 262.4 kB / 493.7 MB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.4665, allocations: 11.12 kB / 493.7 MB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.4669, allocations: 38.14 kB / 493.7 MB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.4671, allocations: 64.8 kB / 493.8 MB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/0.4671, allocations: 45.31 kB / 493.8 MB, free: 25.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000928/0.4681, allocations: 0.7844 MB / 494.6 MB, free: 25.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4681, allocations: 4 kB / 494.6 MB, free: 25.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002352/0.4704, allocations: 492.8 kB / 495.1 MB, free: 25 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004284/0.4709, allocations: 197.4 kB / 495.3 MB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0041/0.475, allocations: 1.917 MB / 497.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.475, allocations: 3.938 kB / 497.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.4762, allocations: 0.5158 MB / 497.7 MB, free: 24.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.4769, allocations: 100.8 kB / 497.8 MB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/0.482, allocations: 3.093 MB / 0.4892 GB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.4833, allocations: 1.452 MB / 0.4906 GB, free: 21.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003077/0.4864, allocations: 0.9697 MB / 0.4916 GB, free: 21.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.4868, allocations: 130.6 kB / 0.4917 GB, free: 21.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4868, allocations: 5.281 kB / 0.4917 GB, free: 21.61 MB / 382.1 MB Notification: Performance of Templates: time 0.03145/0.5182, allocations: 13.36 MB / 0.5047 GB, free: 18.49 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: