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.001549/0.001549, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002415/0.002415, allocations: 198.6 kB / 16.26 MB, free: 6.621 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.698/1.698, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3922/0.3922, allocations: 39.93 MB / 309.4 MB, free: 9.074 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.001386/0.001386, allocations: 68.28 kB / 377.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1502, allocations: 56.89 MB / 434 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.004267/0.1545, allocations: 2.482 MB / 436.5 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.1577, allocations: 1.699 MB / 438.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.1579, allocations: 7.938 kB / 438.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.1585, allocations: 107.5 kB / 438.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.1591, allocations: 171 kB / 438.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.16, allocations: 303.2 kB / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1611, allocations: 1.146 MB / 439.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.1614, allocations: 215.5 kB / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.1619, allocations: 473.2 kB / 440.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005935/0.1625, allocations: 0.602 MB / 441.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.1626, allocations: 44 kB / 441.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.1639, allocations: 0.9086 MB / 442.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.1643, allocations: 290.4 kB / 442.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006602/0.1649, allocations: 0.5815 MB / 443 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.1674, allocations: 1.849 MB / 444.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1674, allocations: 0 / 444.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1675, allocations: 0 / 444.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1675, allocations: 4 kB / 444.9 MB, free: 8.809 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.003004/0.1705, allocations: 1.738 MB / 446.6 MB, free: 7.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.1706, allocations: 11.89 kB / 446.6 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.1709, allocations: 178.7 kB / 446.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.1718, allocations: 0.6269 MB / 447.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-05/0.1719, allocations: 140.1 kB / 447.6 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.1721, allocations: 184.1 kB / 447.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/0.1758, allocations: 2.778 MB / 450.5 MB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.1759, allocations: 4 kB / 450.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.176, allocations: 79.98 kB / 450.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.1762, allocations: 168.4 kB / 450.8 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2937/0.4699, allocations: 3.733 MB / 454.5 MB, free: 51.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.4823, allocations: 6.66 MB / 461.1 MB, free: 49.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.4835, allocations: 0.6745 MB / 461.8 MB, free: 49.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.4839, allocations: 263.9 kB / 462.1 MB, free: 48.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/0.484, allocations: 29.41 kB / 462.1 MB, free: 48.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4841, allocations: 41.97 kB / 462.2 MB, free: 48.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.226e-06/0.4841, allocations: 0 / 462.2 MB, free: 48.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001846/0.4859, allocations: 0.9398 MB / 463.1 MB, free: 48.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.486, allocations: 58.5 kB / 463.1 MB, free: 48.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.4876, allocations: 1.4 MB / 464.5 MB, free: 48.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.4877, allocations: 39.91 kB / 464.6 MB, free: 47.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008565/0.4885, allocations: 1.293 MB / 465.9 MB, free: 46.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.4888, allocations: 271.5 kB / 466.1 MB, free: 46.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007251/0.4895, allocations: 0.6439 MB / 466.8 MB, free: 46.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.4896, allocations: 316.2 kB / 467.1 MB, free: 46.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009691/0.4906, allocations: 0.6877 MB / 467.8 MB, free: 45.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.4927, allocations: 2.747 MB / 470.5 MB, free: 42.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/0.4969, allocations: 3.764 MB / 474.3 MB, free: 39.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.692e-05/0.497, allocations: 22.25 kB / 474.3 MB, free: 39.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.005175/0.5022, allocations: 3.268 MB / 477.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.5023, allocations: 38.31 kB / 477.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.867e-05/0.5023, allocations: 71.91 kB / 477.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.5025, allocations: 98.88 kB / 477.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.5047, allocations: 0.8725 MB / 478.7 MB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.5075, allocations: 6.062 MB / 484.7 MB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/0.5109, allocations: 425 kB / 485.1 MB, free: 31.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/0.5114, allocations: 220.5 kB / 485.4 MB, free: 31.93 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.001362/0.5127, allocations: 0.7038 MB / 486.1 MB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.513, allocations: 134.9 kB / 486.2 MB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.5156, allocations: 1.223 MB / 487.4 MB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.5156, allocations: 5.781 kB / 487.4 MB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5156, allocations: 0 / 487.4 MB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5156, allocations: 3.516 kB / 487.4 MB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.5171, allocations: 0.9512 MB / 488.4 MB, free: 30.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5171, allocations: 5.375 kB / 488.4 MB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5182, allocations: 327.3 kB / 488.7 MB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.5182, allocations: 7.281 kB / 488.7 MB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.5183, allocations: 36.45 kB / 488.7 MB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.5203, allocations: 5.92 MB / 494.7 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5203, allocations: 0 / 494.7 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.5223, allocations: 0.8777 MB / 495.5 MB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008369/0.5232, allocations: 271.7 kB / 495.8 MB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.5233, allocations: 11.34 kB / 495.8 MB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.5238, allocations: 36.23 kB / 495.9 MB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.524, allocations: 67.09 kB / 495.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5241, allocations: 44.34 kB / 496 MB, free: 24.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001586/0.5257, allocations: 0.7983 MB / 496.8 MB, free: 23.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.243e-06/0.5257, allocations: 0 / 496.8 MB, free: 23.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003758/0.5295, allocations: 492.5 kB / 497.2 MB, free: 23.67 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.0006828/0.5302, allocations: 198.8 kB / 497.4 MB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005759/0.5359, allocations: 2.211 MB / 499.6 MB, free: 23.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.536, allocations: 0 / 499.6 MB, free: 23.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.5374, allocations: 0.5002 MB / 0.4884 GB, free: 22.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/0.5382, allocations: 103.2 kB / 0.4885 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/0.5449, allocations: 3.249 MB / 0.4917 GB, free: 21.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.5466, allocations: 1.449 MB / 0.4931 GB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003354/0.55, allocations: 0.9539 MB / 0.494 GB, free: 20.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.5505, allocations: 134.1 kB / 0.4942 GB, free: 20.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5505, allocations: 0 / 0.4942 GB, free: 20.11 MB / 382.1 MB Notification: Performance of Templates: time 0.03529/0.5858, allocations: 14 MB / 0.5078 GB, free: 15.97 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)