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.006816/0.006816, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001164/0.001164, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.5 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.3708/0.3708, allocations: 39.94 MB / 309.8 MB, free: 9.41 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.001421/0.001422, allocations: 67.91 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3723, allocations: 56.88 MB / 492.7 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.003984/0.3763, allocations: 2.442 MB / 495.1 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.3791, allocations: 1.685 MB / 496.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.3793, allocations: 3.188 kB / 496.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.3798, allocations: 129.1 kB / 497 MB, free: 16.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.3803, allocations: 194.2 kB / 497.1 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.3811, allocations: 342.5 kB / 497.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3823, allocations: 1.149 MB / 498.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.3826, allocations: 210.1 kB / 498.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.3831, allocations: 475.8 kB / 499.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006403/0.3837, allocations: 0.5779 MB / 499.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.3838, allocations: 46.38 kB / 499.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.3852, allocations: 0.9138 MB / 0.4891 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.3855, allocations: 286.2 kB / 0.4894 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.386, allocations: 0.5872 MB / 0.4899 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.3882, allocations: 1.861 MB / 0.4918 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3882, allocations: 0 / 0.4918 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3882, allocations: 5.281 kB / 0.4918 GB, free: 13.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.3882, allocations: 0 / 0.4918 GB, free: 13.59 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.002339/0.3906, allocations: 1.737 MB / 0.4935 GB, free: 12.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3906, allocations: 12.86 kB / 0.4935 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.3909, allocations: 178.3 kB / 0.4936 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3919, allocations: 0.6248 MB / 0.4943 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.392, allocations: 135.6 kB / 0.4944 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/0.3923, allocations: 197.6 kB / 0.4946 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003951/0.3963, allocations: 2.776 MB / 0.4973 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.3963, allocations: 5.109 kB / 0.4973 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.3965, allocations: 74.77 kB / 0.4974 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/0.3968, allocations: 168.7 kB / 0.4975 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006135/0.4029, allocations: 3.737 MB / 0.5012 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.4149, allocations: 6.644 MB / 0.5077 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4164, allocations: 0.6745 MB / 0.5083 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.417, allocations: 256.4 kB / 0.5086 GB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.76e-05/0.4171, allocations: 27.89 kB / 0.5086 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4172, allocations: 42.91 kB / 0.5086 GB, free: 3.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.517e-06/0.4172, allocations: 3.938 kB / 0.5086 GB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002544/0.4198, allocations: 0.9372 MB / 0.5096 GB, free: 2.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4198, allocations: 59.97 kB / 0.5096 GB, free: 2.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.4213, allocations: 1.399 MB / 0.511 GB, free: 1.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.4214, allocations: 37.7 kB / 0.511 GB, free: 1.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005694/0.4219, allocations: 1.292 MB / 0.5123 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.4222, allocations: 277.1 kB / 0.5125 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006625/0.4229, allocations: 0.6425 MB / 0.5132 GB, free: 15.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.423, allocations: 321.9 kB / 0.5135 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.4241, allocations: 0.6852 MB / 0.5141 GB, free: 14.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/0.4266, allocations: 2.752 MB / 0.5168 GB, free: 10.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.4307, allocations: 3.754 MB / 0.5205 GB, free: 5.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.204e-05/0.4307, allocations: 20 kB / 0.5205 GB, free: 5.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.005184/0.4359, allocations: 3.271 MB / 0.5237 GB, free: 2.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.436, allocations: 36 kB / 0.5237 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.118e-05/0.436, allocations: 76 kB / 0.5238 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.672e-05/0.4361, allocations: 96 kB / 0.5239 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.4385, allocations: 0.8697 MB / 0.5248 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.4414, allocations: 6.064 MB / 0.5307 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.4435, allocations: 427.7 kB / 0.5311 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.4438, allocations: 224 kB / 0.5313 GB, free: 10.2 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.001017/0.4448, allocations: 0.7193 MB / 0.532 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.445, allocations: 126.4 kB / 0.5321 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.4475, allocations: 1.212 MB / 0.5333 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.4476, allocations: 8 kB / 0.5333 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4476, allocations: 0 / 0.5333 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4476, allocations: 7.984 kB / 0.5333 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.4489, allocations: 0.963 MB / 0.5343 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4489, allocations: 0 / 0.5343 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.45, allocations: 319.8 kB / 0.5346 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.45, allocations: 4 kB / 0.5346 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.4501, allocations: 35.98 kB / 0.5346 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.4528, allocations: 5.927 MB / 0.5404 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4529, allocations: 288 / 0.5404 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4544, allocations: 0.871 MB / 0.5412 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.4549, allocations: 283.2 kB / 0.5415 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.4551, allocations: 11.94 kB / 0.5415 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.4555, allocations: 39.97 kB / 0.5416 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.4556, allocations: 60.59 kB / 0.5416 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.4557, allocations: 39.98 kB / 0.5417 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009681/0.4567, allocations: 0.8002 MB / 0.5424 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4567, allocations: 0 / 0.5424 GB, free: 14.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002322/0.459, allocations: 491 kB / 0.5429 GB, free: 13.96 MB / 430.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.000456/0.4595, allocations: 199 kB / 0.5431 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003684/0.4632, allocations: 1.902 MB / 0.545 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4632, allocations: 0 / 0.545 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.4644, allocations: 0.4994 MB / 0.5454 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.4649, allocations: 104.7 kB / 0.5455 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.4689, allocations: 2.552 MB / 0.548 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.4701, allocations: 1.456 MB / 0.5495 GB, free: 7.199 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002217/0.4723, allocations: 0.9533 MB / 0.5504 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.4726, allocations: 139.4 kB / 0.5505 GB, free: 6.102 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4726, allocations: 3.938 kB / 0.5505 GB, free: 6.098 MB / 430.1 MB Notification: Performance of Templates: time 0.02779/0.5004, allocations: 14.83 MB / 0.565 GB, free: 7.25 MB / 446.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)