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.0009432/0.0009432, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005601/0.005601, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.441/1.441, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3093/0.3093, allocations: 38.03 MB / 308.8 MB, free: 10.39 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.0005423/0.0005421, allocations: 12 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1313, allocations: 57.52 MB / 434.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.002699/0.134, allocations: 2.128 MB / 436.7 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1368, allocations: 1.683 MB / 438.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.137, allocations: 8 kB / 438.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.1374, allocations: 111.6 kB / 438.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.1379, allocations: 183 kB / 438.7 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.1386, allocations: 283.2 kB / 439 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.1397, allocations: 1.24 MB / 440.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.1399, allocations: 215.5 kB / 440.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.1404, allocations: 425.2 kB / 440.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.1411, allocations: 0.5591 MB / 441.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.1412, allocations: 32 kB / 441.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.1423, allocations: 0.8813 MB / 442.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.1426, allocations: 270.3 kB / 442.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.1431, allocations: 0.5832 MB / 443.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.145, allocations: 1.81 MB / 445 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.145, allocations: 0 / 445 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.145, allocations: 4 kB / 445 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.145, allocations: 0 / 445 MB, free: 10.73 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.002127/0.1472, allocations: 1.449 MB / 446.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1472, allocations: 12.03 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.1475, allocations: 178.7 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.1484, allocations: 0.6191 MB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.1485, allocations: 140.1 kB / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.1487, allocations: 188.1 kB / 447.6 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/0.1523, allocations: 2.794 MB / 450.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.1524, allocations: 0 / 450.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.1525, allocations: 83.98 kB / 450.4 MB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.1527, allocations: 168.4 kB / 450.6 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005182/0.1579, allocations: 3.769 MB / 454.4 MB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2477/0.4057, allocations: 6.553 MB / 460.9 MB, free: 48.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4067, allocations: 0.6873 MB / 461.6 MB, free: 48.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/0.4072, allocations: 275.5 kB / 461.9 MB, free: 48.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-05/0.4073, allocations: 29.98 kB / 461.9 MB, free: 48.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.4073, allocations: 41.88 kB / 461.9 MB, free: 48.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/0.4073, allocations: 0 / 461.9 MB, free: 48.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001784/0.4091, allocations: 0.9932 MB / 462.9 MB, free: 48.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.4092, allocations: 58.59 kB / 463 MB, free: 48.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.4105, allocations: 1.398 MB / 464.4 MB, free: 48.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.4106, allocations: 38.7 kB / 464.4 MB, free: 48.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/0.4111, allocations: 1.288 MB / 465.7 MB, free: 47.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.4113, allocations: 277.7 kB / 466 MB, free: 47.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.4116, allocations: 274.9 kB / 466.3 MB, free: 47.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.4116, allocations: 316.7 kB / 466.6 MB, free: 46.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4127, allocations: 0.702 MB / 467.3 MB, free: 46.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.4148, allocations: 2.772 MB / 470 MB, free: 43.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/0.4182, allocations: 3.788 MB / 473.8 MB, free: 40.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.943e-05/0.4183, allocations: 22.7 kB / 473.8 MB, free: 40.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.004787/0.4231, allocations: 3.3 MB / 477.1 MB, free: 38.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.4231, allocations: 37.72 kB / 477.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.143e-05/0.4232, allocations: 76.5 kB / 477.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.234e-05/0.4233, allocations: 93.62 kB / 477.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.4256, allocations: 0.8946 MB / 478.2 MB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.4276, allocations: 6.06 MB / 484.3 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.4298, allocations: 437.5 kB / 484.7 MB, free: 32.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.43, allocations: 214.5 kB / 484.9 MB, free: 32.48 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.0008623/0.4309, allocations: 0.7131 MB / 485.7 MB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.431, allocations: 121.5 kB / 485.8 MB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.4338, allocations: 1.257 MB / 487 MB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.4338, allocations: 6.5 kB / 487 MB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4338, allocations: 7.938 kB / 487 MB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.4338, allocations: 3.047 kB / 487 MB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.435, allocations: 0.9532 MB / 488 MB, free: 31.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.435, allocations: 0 / 488 MB, free: 31.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.436, allocations: 331.7 kB / 488.3 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.4361, allocations: 2.75 kB / 488.3 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.4361, allocations: 42.25 kB / 488.4 MB, free: 31.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.4385, allocations: 5.917 MB / 494.3 MB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.4385, allocations: 15.38 kB / 494.3 MB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4398, allocations: 0.9061 MB / 495.2 MB, free: 24.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.4401, allocations: 258.1 kB / 495.5 MB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4402, allocations: 14.47 kB / 495.5 MB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.4406, allocations: 39.39 kB / 495.5 MB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4407, allocations: 64.42 kB / 495.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.4408, allocations: 43.33 kB / 495.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007744/0.4416, allocations: 0.798 MB / 496.4 MB, free: 24.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4416, allocations: 0 / 496.4 MB, free: 24.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002196/0.4438, allocations: 488.7 kB / 496.9 MB, free: 24.2 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.0003621/0.4442, allocations: 202.8 kB / 497.1 MB, free: 24.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003556/0.4477, allocations: 1.93 MB / 499 MB, free: 23.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4478, allocations: 0 / 499 MB, free: 23.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.4489, allocations: 0.5146 MB / 499.5 MB, free: 23.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.4495, allocations: 100.9 kB / 499.6 MB, free: 23.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.4535, allocations: 3.262 MB / 0.4911 GB, free: 21.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.4545, allocations: 1.447 MB / 0.4925 GB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002814/0.4573, allocations: 0.9732 MB / 0.4935 GB, free: 20.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.4577, allocations: 136.1 kB / 0.4936 GB, free: 20.66 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4577, allocations: 0 / 0.4936 GB, free: 20.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02943/0.4871, allocations: 13.55 MB / 0.5068 GB, free: 17.88 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: