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.001567/0.001567, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001946/0.001946, allocations: 198.2 kB / 16.14 MB, free: 6.715 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.675/1.675, allocations: 205.1 MB / 222 MB, free: 4.738 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.3983/0.3983, allocations: 39.93 MB / 309.3 MB, free: 9.672 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.001362/0.001362, allocations: 66.41 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 56.88 MB / 433.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.004322/0.1487, allocations: 2.486 MB / 436.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003442/0.1522, allocations: 1.722 MB / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.1526, allocations: 0 / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004357/0.1531, allocations: 107.6 kB / 438.1 MB, free: 48 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.1535, allocations: 187 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.1542, allocations: 283.2 kB / 438.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.1555, allocations: 1.247 MB / 439.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.1558, allocations: 207.6 kB / 440 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.1563, allocations: 425.2 kB / 440.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/0.1569, allocations: 0.5669 MB / 441 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.068e-05/0.157, allocations: 28 kB / 441.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.1583, allocations: 0.8852 MB / 441.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.1586, allocations: 262.4 kB / 442.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005211/0.1591, allocations: 0.5581 MB / 442.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.1611, allocations: 1.825 MB / 444.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1611, allocations: 0 / 444.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1612, allocations: 0 / 444.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.1612, allocations: 4 kB / 444.6 MB, free: 9.559 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.002964/0.1642, allocations: 1.738 MB / 446.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.1642, allocations: 8.031 kB / 446.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.1645, allocations: 182.7 kB / 446.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009825/0.1655, allocations: 0.6191 MB / 447.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.1656, allocations: 140.1 kB / 447.3 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.1659, allocations: 188.1 kB / 447.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.1697, allocations: 2.782 MB / 450.2 MB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.1697, allocations: 0 / 450.2 MB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.1699, allocations: 75.98 kB / 450.3 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/0.1701, allocations: 168.4 kB / 450.5 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2913/0.4613, allocations: 3.733 MB / 454.2 MB, free: 51.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009934/0.4713, allocations: 6.665 MB / 460.9 MB, free: 49.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4724, allocations: 0.6664 MB / 461.5 MB, free: 49.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.4729, allocations: 269.4 kB / 461.8 MB, free: 49.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-05/0.473, allocations: 21.95 kB / 461.8 MB, free: 49.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.473, allocations: 43.06 kB / 461.9 MB, free: 49.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.315e-06/0.473, allocations: 0 / 461.9 MB, free: 49.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001716/0.4747, allocations: 0.9412 MB / 462.8 MB, free: 49.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.4748, allocations: 61.47 kB / 462.9 MB, free: 49.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.476, allocations: 1.393 MB / 464.3 MB, free: 48.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.4761, allocations: 37.08 kB / 464.3 MB, free: 48.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/0.4766, allocations: 1.297 MB / 465.6 MB, free: 47.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.4767, allocations: 272.9 kB / 465.9 MB, free: 47.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/0.4773, allocations: 0.6454 MB / 466.5 MB, free: 46.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.4773, allocations: 313.5 kB / 466.8 MB, free: 46.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009417/0.4783, allocations: 0.6859 MB / 467.5 MB, free: 46.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.4801, allocations: 2.747 MB / 470.2 MB, free: 43.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.4836, allocations: 3.766 MB / 474 MB, free: 39.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.369e-05/0.4837, allocations: 23.81 kB / 474 MB, free: 39.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.004258/0.4879, allocations: 3.269 MB / 477.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.488, allocations: 36.31 kB / 477.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.256e-05/0.488, allocations: 77.81 kB / 477.4 MB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.458e-05/0.4881, allocations: 97.73 kB / 477.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.4903, allocations: 0.8719 MB / 478.4 MB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.4924, allocations: 6.058 MB / 484.4 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.4944, allocations: 423.8 kB / 484.8 MB, free: 32.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.4946, allocations: 220.6 kB / 485.1 MB, free: 32.44 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.0008755/0.4955, allocations: 0.7098 MB / 485.8 MB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.4957, allocations: 130.5 kB / 485.9 MB, free: 32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.498, allocations: 1.224 MB / 487.1 MB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.4981, allocations: 5.969 kB / 487.1 MB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4981, allocations: 6.125 kB / 487.1 MB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4981, allocations: 6.797 kB / 487.1 MB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.4993, allocations: 0.9519 MB / 488.1 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4993, allocations: 0 / 488.1 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/0.5003, allocations: 327.3 kB / 488.4 MB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.5003, allocations: 7 kB / 488.4 MB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.5004, allocations: 34.81 kB / 488.5 MB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.5022, allocations: 5.924 MB / 494.4 MB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5022, allocations: 0 / 494.4 MB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.5036, allocations: 0.8779 MB / 495.3 MB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.504, allocations: 271.5 kB / 495.5 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.5042, allocations: 15.06 kB / 495.5 MB, free: 24.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.5045, allocations: 31.44 kB / 495.6 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.5047, allocations: 66.91 kB / 495.6 MB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.5048, allocations: 41.17 kB / 495.7 MB, free: 24.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001233/0.5061, allocations: 0.7939 MB / 496.5 MB, free: 24.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.5061, allocations: 1.219 kB / 496.5 MB, free: 24.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002718/0.5088, allocations: 0.492 MB / 497 MB, free: 24.15 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.0004487/0.5093, allocations: 190.2 kB / 497.1 MB, free: 24.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003699/0.513, allocations: 1.894 MB / 499 MB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.513, allocations: 0 / 499 MB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.5142, allocations: 0.5069 MB / 499.5 MB, free: 23.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.5148, allocations: 101.6 kB / 499.6 MB, free: 23.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.5193, allocations: 3.226 MB / 0.4911 GB, free: 21.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/0.5203, allocations: 1.457 MB / 0.4925 GB, free: 20.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002644/0.523, allocations: 0.9775 MB / 0.4935 GB, free: 20.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.5233, allocations: 134.6 kB / 0.4936 GB, free: 20.61 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5233, allocations: 0 / 0.4936 GB, free: 20.61 MB / 382.1 MB Notification: Performance of Templates: time 0.03128/0.5546, allocations: 13.64 MB / 0.5069 GB, free: 17.24 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.makefile (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)