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.00959/0.009589, allocations: 101 kB / 15.73 MB, free: 6.473 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.001933/0.001934, allocations: 194.1 kB / 16.67 MB, free: 6.379 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.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.31/0.31, allocations: 37.99 MB / 307.9 MB, free: 10.2 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.001643/0.001643, allocations: 83.83 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3834, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.003246/0.3867, allocations: 2.441 MB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3893, allocations: 1.69 MB / 493.6 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.3895, allocations: 8.219 kB / 493.6 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.3899, allocations: 111.2 kB / 493.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.3904, allocations: 195.9 kB / 493.9 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008828/0.3913, allocations: 346.4 kB / 494.3 MB, free: 16.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3926, allocations: 1.144 MB / 495.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.3929, allocations: 213.1 kB / 495.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.3935, allocations: 485.3 kB / 496.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007711/0.3943, allocations: 0.573 MB / 496.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.3944, allocations: 46.38 kB / 496.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.3959, allocations: 0.901 MB / 497.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.3962, allocations: 295.5 kB / 497.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.3968, allocations: 0.5782 MB / 498.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.3991, allocations: 1.865 MB / 0.4886 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3991, allocations: 1.578 kB / 0.4886 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3991, allocations: 0 / 0.4886 GB, free: 14.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.3991, allocations: 3.938 kB / 0.4886 GB, free: 14.05 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.002638/0.4018, allocations: 1.74 MB / 0.4903 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4018, allocations: 14.06 kB / 0.4903 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/0.4021, allocations: 174.2 kB / 0.4905 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.4033, allocations: 0.6348 MB / 0.4911 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.4034, allocations: 138.7 kB / 0.4913 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/0.4037, allocations: 184.5 kB / 0.4914 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004387/0.4081, allocations: 2.783 MB / 0.4942 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.4081, allocations: 5.375 kB / 0.4942 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.4083, allocations: 74.27 kB / 0.4942 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.4085, allocations: 169.4 kB / 0.4944 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.4141, allocations: 3.731 MB / 0.498 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.4254, allocations: 6.646 MB / 0.5045 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4267, allocations: 0.6783 MB / 0.5052 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.4272, allocations: 262.9 kB / 0.5054 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.56e-05/0.4273, allocations: 27.11 kB / 0.5055 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4273, allocations: 42.67 kB / 0.5055 GB, free: 4.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.166e-06/0.4273, allocations: 0 / 0.5055 GB, free: 4.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002131/0.4294, allocations: 0.9428 MB / 0.5064 GB, free: 4.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4295, allocations: 58.84 kB / 0.5065 GB, free: 4.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.4313, allocations: 1.393 MB / 0.5078 GB, free: 3.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.4313, allocations: 35.33 kB / 0.5079 GB, free: 3.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/0.4321, allocations: 1.292 MB / 0.5091 GB, free: 2.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.4323, allocations: 271.6 kB / 0.5094 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/0.4331, allocations: 0.6453 MB / 0.51 GB, free: 1.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.4331, allocations: 315 kB / 0.5103 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.4344, allocations: 0.6951 MB / 0.511 GB, free: 1.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.4368, allocations: 2.748 MB / 0.5137 GB, free: 13.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004465/0.4413, allocations: 3.766 MB / 0.5174 GB, free: 8.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.98e-05/0.4413, allocations: 20 kB / 0.5174 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.005648/0.447, allocations: 3.263 MB / 0.5206 GB, free: 5.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.447, allocations: 36 kB / 0.5206 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.69e-05/0.4471, allocations: 72 kB / 0.5207 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-05/0.4472, allocations: 100.1 kB / 0.5208 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.4496, allocations: 0.8774 MB / 0.5216 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.4532, allocations: 6.063 MB / 0.5276 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.4556, allocations: 427.5 kB / 0.528 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/0.4558, allocations: 216 kB / 0.5282 GB, free: 13.38 MB / 414.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.001233/0.4571, allocations: 0.7273 MB / 0.5289 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.4572, allocations: 118.5 kB / 0.529 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.4598, allocations: 1.227 MB / 0.5302 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.4599, allocations: 8 kB / 0.5302 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4599, allocations: 0 / 0.5302 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4599, allocations: 3.984 kB / 0.5302 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.4613, allocations: 0.9554 MB / 0.5311 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4613, allocations: 0 / 0.5311 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.4624, allocations: 319.8 kB / 0.5314 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.4625, allocations: 8 kB / 0.5314 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.4625, allocations: 35.98 kB / 0.5315 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/0.4657, allocations: 5.919 MB / 0.5373 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4657, allocations: 3.938 kB / 0.5373 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.4674, allocations: 0.8781 MB / 0.5381 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.468, allocations: 275.2 kB / 0.5384 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.4681, allocations: 15.98 kB / 0.5384 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.4685, allocations: 27.97 kB / 0.5384 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.4687, allocations: 64.59 kB / 0.5385 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.4688, allocations: 43.98 kB / 0.5385 GB, free: 2.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.4698, allocations: 0.7924 MB / 0.5393 GB, free: 1.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4698, allocations: 4 kB / 0.5393 GB, free: 1.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002763/0.4726, allocations: 494.9 kB / 0.5398 GB, free: 1.137 MB / 414.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.0004444/0.473, allocations: 195 kB / 0.54 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003599/0.4767, allocations: 1.901 MB / 0.5418 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4767, allocations: 0 / 0.5418 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.4778, allocations: 0.5034 MB / 0.5423 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.4785, allocations: 100.6 kB / 0.5424 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.4825, allocations: 2.55 MB / 0.5449 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.4835, allocations: 1.46 MB / 0.5463 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002077/0.4856, allocations: 0.9494 MB / 0.5473 GB, free: 9.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.4858, allocations: 135.4 kB / 0.5474 GB, free: 9.285 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4858, allocations: 4 kB / 0.5474 GB, free: 9.281 MB / 430.1 MB Notification: Performance of Templates: time 0.02463/0.5105, allocations: 14.79 MB / 0.5618 GB, free: 10.48 MB / 446.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)