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.001033/0.001033, allocations: 100.8 kB / 15.05 MB, free: 1.105 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.001222/0.001222, allocations: 177.3 kB / 15.94 MB, free: 220 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.786/1.786, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4328/0.4328, allocations: 38.02 MB / 308.4 MB, free: 10.43 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.0008668/0.0008668, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1606, allocations: 57.51 MB / 433.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.00296/0.1636, allocations: 1.985 MB / 435.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.1661, allocations: 1.544 MB / 437.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1663, allocations: 4 kB / 437.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1666, allocations: 95.44 kB / 437.6 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.167, allocations: 163.5 kB / 437.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.1676, allocations: 283.3 kB / 438 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007879/0.1684, allocations: 0.7909 MB / 438.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.1687, allocations: 211.5 kB / 439 MB, free: 472 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.1691, allocations: 389.9 kB / 439.4 MB, free: 80 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.1696, allocations: 493.3 kB / 439.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.1697, allocations: 28 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1708, allocations: 0.8699 MB / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.171, allocations: 242.8 kB / 441 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.1712, allocations: 228.8 kB / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.1725, allocations: 1.259 MB / 442.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1725, allocations: 0 / 442.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1725, allocations: 0 / 442.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.1725, allocations: 4 kB / 442.5 MB, free: 12.96 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.002088/0.1746, allocations: 1.457 MB / 443.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1747, allocations: 12.03 kB / 444 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.1749, allocations: 181.7 kB / 444.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.176, allocations: 0.6217 MB / 444.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.1761, allocations: 143.8 kB / 444.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.1763, allocations: 176 kB / 445.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.1799, allocations: 2.77 MB / 447.8 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.18, allocations: 3.938 kB / 447.8 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.1801, allocations: 75.98 kB / 447.9 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/0.1804, allocations: 168.4 kB / 448.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005536/0.1859, allocations: 3.757 MB / 451.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2977/0.4837, allocations: 6.681 MB / 458.5 MB, free: 48.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.4848, allocations: 0.6822 MB / 459.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.96e-05/0.4849, allocations: 30.88 kB / 459.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4849, allocations: 37.88 kB / 459.3 MB, free: 48.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.406e-06/0.4849, allocations: 0 / 459.3 MB, free: 48.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001818/0.4867, allocations: 0.981 MB / 460.2 MB, free: 48.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.4868, allocations: 62.25 kB / 460.3 MB, free: 48.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.4882, allocations: 1.386 MB / 461.7 MB, free: 47.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.4883, allocations: 42.72 kB / 461.7 MB, free: 47.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.4889, allocations: 1.277 MB / 463 MB, free: 46.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.4891, allocations: 273.3 kB / 463.3 MB, free: 46.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.4891, allocations: 62.12 kB / 463.3 MB, free: 46.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4894, allocations: 444.7 kB / 463.8 MB, free: 46.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.4905, allocations: 0.6884 MB / 464.5 MB, free: 46.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.4925, allocations: 2.747 MB / 467.2 MB, free: 43.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.4941, allocations: 1.276 MB / 468.5 MB, free: 43.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.948e-05/0.4941, allocations: 19.47 kB / 468.5 MB, free: 43.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.004628/0.4988, allocations: 3.273 MB / 471.8 MB, free: 42.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.4988, allocations: 37.09 kB / 471.8 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.032e-05/0.4989, allocations: 74.44 kB / 471.9 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.973e-05/0.499, allocations: 107.1 kB / 472 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.5013, allocations: 0.8721 MB / 472.9 MB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.5033, allocations: 6.069 MB / 478.9 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.5054, allocations: 435.5 kB / 479.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.5057, allocations: 217.7 kB / 479.6 MB, free: 35.95 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.001173/0.5069, allocations: 0.7159 MB / 480.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.5071, allocations: 124.1 kB / 480.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/0.5102, allocations: 1.293 MB / 481.7 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.5103, allocations: 9.219 kB / 481.7 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5103, allocations: 0 / 481.7 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5103, allocations: 3.375 kB / 481.7 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.5116, allocations: 0.9637 MB / 482.7 MB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5116, allocations: 0 / 482.7 MB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.5126, allocations: 326.1 kB / 483 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.5126, allocations: 0 / 483 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.5127, allocations: 33.03 kB / 483 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.5146, allocations: 5.919 MB / 488.9 MB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5146, allocations: 0 / 488.9 MB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.5163, allocations: 0.9008 MB / 489.8 MB, free: 28.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006979/0.517, allocations: 297.1 kB / 490.1 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.5172, allocations: 14.91 kB / 490.1 MB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.5176, allocations: 38.11 kB / 490.2 MB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.5179, allocations: 73.94 kB / 490.3 MB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.56e-05/0.518, allocations: 41.64 kB / 490.3 MB, free: 28.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.5194, allocations: 0.7828 MB / 491.1 MB, free: 27.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5194, allocations: 0 / 491.1 MB, free: 27.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003198/0.5226, allocations: 494.5 kB / 491.6 MB, free: 27.73 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.0005117/0.5231, allocations: 198.4 kB / 491.8 MB, free: 27.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004179/0.5273, allocations: 1.913 MB / 493.7 MB, free: 27.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.5273, allocations: 0 / 493.7 MB, free: 27.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5284, allocations: 0.5193 MB / 494.2 MB, free: 27.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.5289, allocations: 86 kB / 494.3 MB, free: 27.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.5341, allocations: 3.08 MB / 497.4 MB, free: 25.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.5352, allocations: 1.483 MB / 498.8 MB, free: 24.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002981/0.5381, allocations: 0.9711 MB / 499.8 MB, free: 24.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.5384, allocations: 132.4 kB / 499.9 MB, free: 24.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5384, allocations: 0 / 499.9 MB, free: 24.41 MB / 382.1 MB Notification: Performance of Templates: time 0.03566/0.5741, allocations: 12.8 MB / 0.5007 GB, free: 22.39 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: