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.001561/0.001561, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 197 kB / 16.53 MB, free: 6.672 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.69/1.69, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.4187/0.4187, allocations: 37.99 MB / 307.8 MB, free: 10.05 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.001767/0.001767, allocations: 68.52 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1643, allocations: 56.46 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.004575/0.169, allocations: 2.44 MB / 434.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.1724, allocations: 1.694 MB / 435.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1726, allocations: 4 kB / 435.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.1731, allocations: 119.4 kB / 436 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004815/0.1736, allocations: 194.8 kB / 436.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.1745, allocations: 338.8 kB / 436.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.1757, allocations: 1.146 MB / 437.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.176, allocations: 211.6 kB / 437.9 MB, free: 436 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.1768, allocations: 477.2 kB / 438.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/0.1776, allocations: 0.5787 MB / 438.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.1777, allocations: 48 kB / 438.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.1793, allocations: 0.897 MB / 439.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.1796, allocations: 290.3 kB / 440.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.1803, allocations: 0.5854 MB / 440.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.1824, allocations: 1.857 MB / 442.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.1824, allocations: 0 / 442.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.1824, allocations: 0 / 442.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.1824, allocations: 0 / 442.6 MB, free: 11.69 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.002604/0.185, allocations: 1.742 MB / 444.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1851, allocations: 11.89 kB / 444.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.1854, allocations: 174.8 kB / 444.5 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.1866, allocations: 0.623 MB / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.1867, allocations: 140.1 kB / 445.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.187, allocations: 184.1 kB / 445.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004659/0.1917, allocations: 2.782 MB / 448.2 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.1917, allocations: 3.938 kB / 448.2 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.1919, allocations: 75.98 kB / 448.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.1922, allocations: 168.4 kB / 448.5 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006324/0.1985, allocations: 3.738 MB / 452.2 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2882/0.4867, allocations: 6.658 MB / 458.9 MB, free: 52.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4878, allocations: 0.6685 MB / 459.5 MB, free: 52.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/0.4883, allocations: 267.3 kB / 459.8 MB, free: 52.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.146e-05/0.4884, allocations: 24.52 kB / 459.8 MB, free: 52.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4885, allocations: 50.09 kB / 459.9 MB, free: 52.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.016e-06/0.4885, allocations: 0 / 459.9 MB, free: 52.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001875/0.4903, allocations: 0.9406 MB / 460.8 MB, free: 51.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.4904, allocations: 61.8 kB / 460.9 MB, free: 51.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.4917, allocations: 1.398 MB / 462.3 MB, free: 51.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.4917, allocations: 36.98 kB / 462.3 MB, free: 51.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.4923, allocations: 1.29 MB / 463.6 MB, free: 50.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.4925, allocations: 276 kB / 463.9 MB, free: 49.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006486/0.4932, allocations: 0.6439 MB / 464.5 MB, free: 49.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.4932, allocations: 313.7 kB / 464.8 MB, free: 49.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.4943, allocations: 0.6919 MB / 465.5 MB, free: 49.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.4967, allocations: 2.751 MB / 468.2 MB, free: 46.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/0.5004, allocations: 3.763 MB / 472 MB, free: 42.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.139e-05/0.5004, allocations: 26.5 kB / 472 MB, free: 42.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.00465/0.5051, allocations: 3.256 MB / 475.3 MB, free: 41.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.5052, allocations: 40.41 kB / 475.3 MB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.863e-05/0.5053, allocations: 81.42 kB / 475.4 MB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.5054, allocations: 97 kB / 475.5 MB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.5077, allocations: 0.8762 MB / 476.4 MB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.5097, allocations: 6.055 MB / 482.4 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.5117, allocations: 427.5 kB / 482.9 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.5119, allocations: 216.8 kB / 483.1 MB, free: 35.05 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.0007718/0.5127, allocations: 0.7226 MB / 483.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.5128, allocations: 120.7 kB / 483.9 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.5155, allocations: 1.212 MB / 485.1 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5155, allocations: 12.91 kB / 485.1 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5155, allocations: 0 / 485.1 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5155, allocations: 3.469 kB / 485.1 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.5168, allocations: 0.961 MB / 486.1 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5168, allocations: 0 / 486.1 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.5178, allocations: 318.8 kB / 486.4 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.5178, allocations: 3.188 kB / 486.4 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.5179, allocations: 33.66 kB / 486.4 MB, free: 33.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.5199, allocations: 5.922 MB / 492.4 MB, free: 27.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5199, allocations: 0 / 492.4 MB, free: 27.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.5213, allocations: 0.8837 MB / 493.2 MB, free: 27.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.5218, allocations: 272.1 kB / 493.5 MB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.5219, allocations: 11 kB / 493.5 MB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/0.5223, allocations: 34.2 kB / 493.6 MB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.5225, allocations: 72.42 kB / 493.6 MB, free: 27.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.5226, allocations: 42.47 kB / 493.7 MB, free: 27.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008818/0.5235, allocations: 0.797 MB / 494.5 MB, free: 26.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.994e-06/0.5235, allocations: 0 / 494.5 MB, free: 26.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002464/0.526, allocations: 489.2 kB / 494.9 MB, free: 26.76 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.0004667/0.5264, allocations: 213.3 kB / 495.1 MB, free: 26.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00487/0.5313, allocations: 2.21 MB / 497.4 MB, free: 26.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5313, allocations: 0.6875 kB / 497.4 MB, free: 26.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5326, allocations: 0.5026 MB / 497.9 MB, free: 26.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.5332, allocations: 101.6 kB / 498 MB, free: 25.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.537, allocations: 2.583 MB / 0.4888 GB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009688/0.538, allocations: 1.449 MB / 0.4902 GB, free: 24.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002776/0.5408, allocations: 0.9509 MB / 0.4912 GB, free: 23.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.5411, allocations: 137.1 kB / 0.4913 GB, free: 23.87 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5411, allocations: 3.938 kB / 0.4913 GB, free: 23.87 MB / 382.1 MB Notification: Performance of Templates: time 0.03679/0.5779, allocations: 14.16 MB / 0.5051 GB, free: 20.65 MB / 382.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)