Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009824/0.009824, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001682/0.001682, allocations: 194.7 kB / 16.67 MB, free: 5.52 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1982/0.1982, allocations: 38 MB / 307.9 MB, free: 5.988 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.001373/0.001373, allocations: 67.89 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 56.48 MB / 489.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003256/0.1345, allocations: 1.898 MB / 491.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1364, allocations: 1.153 MB / 492.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1365, allocations: 4 kB / 492.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1369, allocations: 63.59 kB / 492.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1371, allocations: 75.52 kB / 492.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.1376, allocations: 159.4 kB / 492.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1379, allocations: 262.4 kB / 493.1 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.138, allocations: 40.72 kB / 493.1 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.1382, allocations: 99.45 kB / 493.2 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1384, allocations: 119.3 kB / 493.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1384, allocations: 8 kB / 493.4 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.139, allocations: 323.5 kB / 493.7 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.1391, allocations: 55.64 kB / 493.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1392, allocations: 119.2 kB / 493.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.1398, allocations: 422.5 kB / 494.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1398, allocations: 4 kB / 494.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1398, allocations: 0 / 494.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1398, allocations: 0 / 494.3 MB, free: 1.059 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009051/0.1407, allocations: 0.5699 MB / 494.8 MB, free: 448 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1408, allocations: 15.89 kB / 494.9 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.1409, allocations: 36.55 kB / 494.9 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.1412, allocations: 239.8 kB / 495.1 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1412, allocations: 29.12 kB / 495.1 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.1413, allocations: 32 kB / 495.2 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.142, allocations: 493.4 kB / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.142, allocations: 0 / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1421, allocations: 8 kB / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/0.1421, allocations: 32.98 kB / 495.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006252/0.1427, allocations: 431.6 kB / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.1441, allocations: 1.173 MB / 497.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1443, allocations: 82.53 kB / 497.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1445, allocations: 44.81 kB / 497.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1445, allocations: 8.141 kB / 497.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1445, allocations: 30.56 kB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1446, allocations: 3.938 kB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005208/0.1451, allocations: 149.5 kB / 497.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1451, allocations: 55.41 kB / 497.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1453, allocations: 174.2 kB / 497.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1453, allocations: 25.7 kB / 497.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1455, allocations: 215.3 kB / 498.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1455, allocations: 31.62 kB / 498.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.1456, allocations: 53.61 kB / 498.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1458, allocations: 322.8 kB / 498.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1459, allocations: 63.83 kB / 498.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.1461, allocations: 176.1 kB / 498.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.1465, allocations: 240 kB / 498.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1465, allocations: 0 / 498.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004781/0.147, allocations: 245.1 kB / 499.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/0.1471, allocations: 11.22 kB / 499.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1471, allocations: 11.94 kB / 499.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1471, allocations: 8 kB / 499.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.1475, allocations: 91.89 kB / 499.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009754/0.1485, allocations: 1.789 MB / 0.4893 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1486, allocations: 31.69 kB / 0.4894 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1487, allocations: 15.98 kB / 0.4894 GB, free: 9.723 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002916/0.149, allocations: 185.3 kB / 0.4896 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.149, allocations: 7.906 kB / 0.4896 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.1495, allocations: 202 kB / 0.4898 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.1495, allocations: 11.92 kB / 0.4898 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1496, allocations: 0 / 0.4898 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1496, allocations: 0 / 0.4898 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.1499, allocations: 285.6 kB / 0.49 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1499, allocations: 0 / 0.49 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.1501, allocations: 63.97 kB / 0.4901 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1501, allocations: 0 / 0.4901 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1501, allocations: 4 kB / 0.4901 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009176/0.151, allocations: 1.777 MB / 0.4918 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1511, allocations: 0 / 0.4918 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.1514, allocations: 219.6 kB / 0.4921 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.1515, allocations: 85.02 kB / 0.4921 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1515, allocations: 3.938 kB / 0.4921 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.1516, allocations: 11.98 kB / 0.4922 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1516, allocations: 8 kB / 0.4922 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1517, allocations: 4 kB / 0.4922 GB, free: 6.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.413e-05/0.1518, allocations: 120.1 kB / 0.4923 GB, free: 6.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1518, allocations: 0 / 0.4923 GB, free: 6.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.1522, allocations: 103.5 kB / 0.4924 GB, free: 6.488 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/0.1526, allocations: 139.2 kB / 0.4925 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.1531, allocations: 181.4 kB / 0.4927 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1531, allocations: 3.938 kB / 0.4927 GB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.1534, allocations: 95.88 kB / 0.4928 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1537, allocations: 8 kB / 0.4928 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.1545, allocations: 464.4 kB / 0.4932 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1549, allocations: 0.7943 MB / 0.494 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.1551, allocations: 65.12 kB / 0.4941 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.1551, allocations: 27.38 kB / 0.4941 GB, free: 4.668 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1552, allocations: 0 / 0.4941 GB, free: 4.668 MB / 382.1 MB Notification: Performance of Templates: time 0.006672/0.1618, allocations: 3.078 MB / 0.4971 GB, free: 1.609 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1)