Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001507/0.001508, allocations: 108 kB / 15.6 MB, free: 132 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.002011/0.002011, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.683/1.683, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.3694/0.3694, allocations: 39.95 MB / 309.7 MB, free: 9.375 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.002455/0.002455, allocations: 70.41 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1658, allocations: 56.87 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003414/0.1692, allocations: 1.918 MB / 436.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1711, allocations: 1.142 MB / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.1712, allocations: 0 / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.1715, allocations: 67.89 kB / 437.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1717, allocations: 71.52 kB / 437.7 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.1722, allocations: 155.3 kB / 437.9 MB, free: 332 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.1725, allocations: 262.5 kB / 438.1 MB, free: 68 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.1726, allocations: 40.7 kB / 438.2 MB, free: 28 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1727, allocations: 99.52 kB / 438.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.1729, allocations: 127.3 kB / 438.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.173, allocations: 4 kB / 438.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.1735, allocations: 323.3 kB / 438.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1736, allocations: 55.64 kB / 438.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1738, allocations: 111.2 kB / 438.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.1743, allocations: 430.5 kB / 439.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1743, allocations: 0 / 439.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1744, allocations: 0 / 439.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1744, allocations: 8 kB / 439.3 MB, free: 14.89 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009585/0.1753, allocations: 0.5659 MB / 439.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.1754, allocations: 11.89 kB / 439.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.1755, allocations: 36.56 kB / 439.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1758, allocations: 232 kB / 440.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.1758, allocations: 33.12 kB / 440.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.1759, allocations: 31.98 kB / 440.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007888/0.1767, allocations: 497.4 kB / 440.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1767, allocations: 4 kB / 440.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.1767, allocations: 12 kB / 440.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.1768, allocations: 28.98 kB / 440.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006164/0.1774, allocations: 427.7 kB / 441.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.1791, allocations: 1.193 MB / 442.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1793, allocations: 78.53 kB / 442.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1795, allocations: 40.98 kB / 442.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.1795, allocations: 11.97 kB / 442.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1796, allocations: 42.44 kB / 442.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1796, allocations: 0 / 442.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004871/0.1801, allocations: 145.5 kB / 442.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.1801, allocations: 55.41 kB / 442.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1803, allocations: 166.2 kB / 442.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.1803, allocations: 37.7 kB / 442.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1805, allocations: 215.2 kB / 443.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.1805, allocations: 31.64 kB / 443.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-05/0.1806, allocations: 57.55 kB / 443.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1808, allocations: 322.8 kB / 443.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1809, allocations: 59.88 kB / 443.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.1812, allocations: 168.2 kB / 443.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1816, allocations: 256 kB / 444 MB, free: 9.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1816, allocations: 0 / 444 MB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000449/0.182, allocations: 245.1 kB / 444.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1821, allocations: 8 kB / 444.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1821, allocations: 4 kB / 444.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.1821, allocations: 4 kB / 444.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.1825, allocations: 92.41 kB / 444.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1837, allocations: 1.777 MB / 446.1 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1839, allocations: 35.95 kB / 446.1 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.1839, allocations: 16 kB / 446.2 MB, free: 7.555 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.0003596/0.1843, allocations: 177.7 kB / 446.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1843, allocations: 7.906 kB / 446.3 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.1848, allocations: 202.3 kB / 446.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1848, allocations: 3.938 kB / 446.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1848, allocations: 4 kB / 446.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1849, allocations: 4 kB / 446.5 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.1852, allocations: 293.5 kB / 446.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1852, allocations: 0 / 446.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.1854, allocations: 59.97 kB / 446.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1854, allocations: 0 / 446.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1854, allocations: 12 kB / 446.9 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1865, allocations: 1.774 MB / 448.7 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1865, allocations: 0 / 448.7 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.1868, allocations: 219.5 kB / 448.9 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.1869, allocations: 88.95 kB / 449 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.187, allocations: 3.938 kB / 449 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.1871, allocations: 7.984 kB / 449 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.1871, allocations: 11.98 kB / 449 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1871, allocations: 4 kB / 449 MB, free: 4.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.608e-05/0.1872, allocations: 116.1 kB / 449.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1872, allocations: 0 / 449.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005591/0.1878, allocations: 103.5 kB / 449.2 MB, free: 4.32 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.0004245/0.1882, allocations: 143.1 kB / 449.4 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005874/0.1888, allocations: 191.7 kB / 449.5 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.1889, allocations: 3.938 kB / 449.6 MB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.1892, allocations: 85.08 kB / 449.6 MB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1895, allocations: 15.98 kB / 449.7 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.1904, allocations: 468.2 kB / 450.1 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.191, allocations: 0.7982 MB / 450.9 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.1912, allocations: 61.14 kB / 451 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.1912, allocations: 23.44 kB / 451 MB, free: 2.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1912, allocations: 0 / 451 MB, free: 2.488 MB / 382.1 MB Notification: Performance of Templates: time 0.2192/0.4104, allocations: 3.041 MB / 454 MB, free: 52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1)