Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001167/0.001167, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.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.442/0.442, allocations: 40 MB / 310.4 MB, free: 9.992 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.0005926/0.0005928, allocations: 12 kB / 378.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1518, allocations: 57.96 MB / 436.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002422/0.1542, allocations: 1.833 MB / 438.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004683/0.1589, allocations: 3.022 MB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1592, allocations: 4 kB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1595, allocations: 79.56 kB / 441.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.16, allocations: 131.3 kB / 441.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.1621, allocations: 0.7518 MB / 442.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006621/0.1628, allocations: 0.5904 MB / 443.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1629, allocations: 82 kB / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.1632, allocations: 226.8 kB / 443.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.1635, allocations: 274.6 kB / 443.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.1636, allocations: 20 kB / 443.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.1663, allocations: 1.836 MB / 445.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.1665, allocations: 139.2 kB / 445.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1666, allocations: 121.3 kB / 445.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.168, allocations: 1.009 MB / 446.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.168, allocations: 0 / 446.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.168, allocations: 0 / 446.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.168, allocations: 4 kB / 446.9 MB, free: 8.367 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001621/0.1696, allocations: 0.9168 MB / 447.8 MB, free: 7.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.1697, allocations: 11.97 kB / 447.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1699, allocations: 71.16 kB / 447.9 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.1705, allocations: 349.9 kB / 448.3 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.1706, allocations: 61.94 kB / 448.3 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.1707, allocations: 79.98 kB / 448.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.1725, allocations: 1.225 MB / 449.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.1726, allocations: 0 / 449.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.1726, allocations: 35.97 kB / 449.7 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.1727, allocations: 85.91 kB / 449.7 MB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.1753, allocations: 1.729 MB / 451.5 MB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.1798, allocations: 2.91 MB / 454.4 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.1808, allocations: 431.5 kB / 454.8 MB, free: 232 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.181, allocations: 149.3 kB / 454.9 MB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.1811, allocations: 12.27 kB / 455 MB, free: 68 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1812, allocations: 42.8 kB / 455 MB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 3.256e-06/0.1812, allocations: 3.938 kB / 455 MB, free: 12 kB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.3042/0.4854, allocations: 492.2 kB / 455.5 MB, free: 48.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.4855, allocations: 55.19 kB / 455.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.4858, allocations: 214.8 kB / 455.7 MB, free: 48.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.4858, allocations: 34.17 kB / 455.8 MB, free: 48.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.4861, allocations: 376.5 kB / 456.1 MB, free: 48.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/0.4862, allocations: 122.5 kB / 456.3 MB, free: 48.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.4862, allocations: 7.625 kB / 456.3 MB, free: 48.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4863, allocations: 335.6 kB / 456.6 MB, free: 48.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.4866, allocations: 149.8 kB / 456.8 MB, free: 48.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.487, allocations: 353.6 kB / 457.1 MB, free: 47.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.4873, allocations: 215.9 kB / 457.3 MB, free: 47.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4873, allocations: 3.125 kB / 457.3 MB, free: 47.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008178/0.4882, allocations: 0.5402 MB / 457.9 MB, free: 47.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4882, allocations: 8.156 kB / 457.9 MB, free: 47.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4882, allocations: 8.062 kB / 457.9 MB, free: 47.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.4882, allocations: 15.12 kB / 457.9 MB, free: 47.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.4889, allocations: 211 kB / 458.1 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.4901, allocations: 2.994 MB / 461.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.4904, allocations: 68.53 kB / 461.1 MB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.4905, allocations: 32.47 kB / 461.2 MB, free: 44.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000388/0.4909, allocations: 270.2 kB / 461.4 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.4909, allocations: 23.91 kB / 461.5 MB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.4921, allocations: 0.5675 MB / 462 MB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4921, allocations: 7.156 kB / 462 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4921, allocations: 0 / 462 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4921, allocations: 3.328 kB / 462 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.4937, allocations: 1.161 MB / 463.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4937, allocations: 0 / 463.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.4942, allocations: 177.1 kB / 463.4 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.4943, allocations: 6.453 kB / 463.4 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.4943, allocations: 18.67 kB / 463.4 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009885/0.4953, allocations: 2.966 MB / 466.4 MB, free: 41.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4953, allocations: 3.281 kB / 466.4 MB, free: 41.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.4959, allocations: 0.5039 MB / 466.9 MB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.496, allocations: 106.5 kB / 467 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.4961, allocations: 12.89 kB / 467 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.4962, allocations: 13.28 kB / 467 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.4963, allocations: 44.22 kB / 467 MB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.4963, allocations: 19.98 kB / 467.1 MB, free: 40.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.4965, allocations: 136.7 kB / 467.2 MB, free: 40.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4965, allocations: 0 / 467.2 MB, free: 40.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001088/0.4976, allocations: 345 kB / 467.5 MB, free: 40.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006732/0.4982, allocations: 358.5 kB / 467.9 MB, free: 40.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009645/0.4992, allocations: 494 kB / 468.4 MB, free: 40.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4992, allocations: 0 / 468.4 MB, free: 40.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.4997, allocations: 264.1 kB / 468.6 MB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.5001, allocations: 31.28 kB / 468.7 MB, free: 40.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.5019, allocations: 1.436 MB / 470.1 MB, free: 39.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.5023, allocations: 0.9926 MB / 471.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004952/0.5028, allocations: 169.5 kB / 471.3 MB, free: 39.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.339e-05/0.5029, allocations: 42.86 kB / 471.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.503, allocations: 0 / 471.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01325/0.5162, allocations: 8.244 MB / 479.5 MB, free: 38.4 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: