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.007824/0.007824, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001501/0.001501, allocations: 187.1 kB / 16.67 MB, free: 5.957 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.832/1.832, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.4292/0.4292, allocations: 39.94 MB / 309.8 MB, free: 9.73 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.001467/0.001467, allocations: 67.91 kB / 435.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3646, allocations: 56.87 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003827/0.3685, allocations: 2.185 MB / 494.9 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.3736, allocations: 3.322 MB / 498.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.3739, allocations: 5.469 kB / 498.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.3745, allocations: 85.58 kB / 498.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005807/0.3751, allocations: 142.1 kB / 498.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.3779, allocations: 0.8726 MB / 499.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007041/0.3786, allocations: 0.5705 MB / 499.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3788, allocations: 81.69 kB / 499.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.3791, allocations: 239.5 kB / 0.4885 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.3795, allocations: 277.4 kB / 0.4887 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.3795, allocations: 23.28 kB / 0.4887 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.3826, allocations: 1.947 MB / 0.4906 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.3829, allocations: 147.2 kB / 0.4908 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.3832, allocations: 272.3 kB / 0.491 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.3856, allocations: 1.684 MB / 0.4927 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3857, allocations: 0 / 0.4927 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3857, allocations: 1.156 kB / 0.4927 GB, free: 12.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.3857, allocations: 0 / 0.4927 GB, free: 12.73 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.001815/0.3875, allocations: 1.026 MB / 0.4937 GB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3876, allocations: 12.92 kB / 0.4937 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3877, allocations: 74.12 kB / 0.4938 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.3883, allocations: 351.4 kB / 0.4941 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.3884, allocations: 60.39 kB / 0.4942 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3885, allocations: 76.5 kB / 0.4942 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.3903, allocations: 1.226 MB / 0.4954 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.3904, allocations: 0 / 0.4954 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.3905, allocations: 33.81 kB / 0.4955 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.3906, allocations: 80.89 kB / 0.4955 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.393, allocations: 1.715 MB / 0.4972 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.3974, allocations: 2.929 MB / 0.5001 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.3982, allocations: 430.6 kB / 0.5005 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.3985, allocations: 142.9 kB / 0.5006 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.3986, allocations: 6.594 kB / 0.5006 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.3986, allocations: 40.05 kB / 0.5007 GB, free: 7.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.3986, allocations: 0 / 0.5007 GB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001008/0.3996, allocations: 493 kB / 0.5011 GB, free: 7.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.3997, allocations: 54.28 kB / 0.5012 GB, free: 7.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.3999, allocations: 209.5 kB / 0.5014 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3999, allocations: 32.52 kB / 0.5014 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.4001, allocations: 389.7 kB / 0.5018 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.4002, allocations: 117.8 kB / 0.5019 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.4004, allocations: 118.9 kB / 0.502 GB, free: 6.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.4005, allocations: 336.5 kB / 0.5023 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.4008, allocations: 155 kB / 0.5025 GB, free: 6.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.4012, allocations: 345 kB / 0.5028 GB, free: 5.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.4019, allocations: 0.5274 MB / 0.5033 GB, free: 5.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4019, allocations: 2.281 kB / 0.5033 GB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009049/0.4028, allocations: 0.5487 MB / 0.5039 GB, free: 5.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.4029, allocations: 8.344 kB / 0.5039 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4029, allocations: 10.5 kB / 0.5039 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.4029, allocations: 8.562 kB / 0.5039 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/0.4036, allocations: 208.7 kB / 0.5041 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.4046, allocations: 2.999 MB / 0.507 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.4049, allocations: 53.48 kB / 0.5071 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.405, allocations: 29.66 kB / 0.5071 GB, free: 2.055 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 (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004704/0.4055, allocations: 282 kB / 0.5074 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.4056, allocations: 21.62 kB / 0.5074 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4067, allocations: 0.5563 MB / 0.5079 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4067, allocations: 3.781 kB / 0.5079 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4068, allocations: 0 / 0.5079 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4068, allocations: 1.281 kB / 0.5079 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.4086, allocations: 1.172 MB / 0.5091 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4086, allocations: 2.5 kB / 0.5091 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.4092, allocations: 171 kB / 0.5093 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.4092, allocations: 7.75 kB / 0.5093 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.4093, allocations: 22.17 kB / 0.5093 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.4108, allocations: 2.963 MB / 0.5122 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4108, allocations: 1.75 kB / 0.5122 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.4117, allocations: 0.4937 MB / 0.5127 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.4118, allocations: 106.4 kB / 0.5128 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.4118, allocations: 12.06 kB / 0.5128 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.4121, allocations: 14.88 kB / 0.5128 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.4122, allocations: 39.14 kB / 0.5128 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.4122, allocations: 19.12 kB / 0.5128 GB, free: 13.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.4124, allocations: 128.1 kB / 0.513 GB, free: 13.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4124, allocations: 0 / 0.513 GB, free: 13.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001598/0.414, allocations: 354.3 kB / 0.5133 GB, free: 12.96 MB / 398.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 (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008929/0.4149, allocations: 357.6 kB / 0.5136 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4161, allocations: 483.9 kB / 0.5141 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.4161, allocations: 2.656 kB / 0.5141 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006551/0.4168, allocations: 267.4 kB / 0.5144 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.4171, allocations: 29.09 kB / 0.5144 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.4193, allocations: 1.107 MB / 0.5155 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/0.4201, allocations: 0.9883 MB / 0.5164 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00052/0.4207, allocations: 166.5 kB / 0.5166 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.4208, allocations: 47.48 kB / 0.5166 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4208, allocations: 3.938 kB / 0.5166 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Templates: time 0.01594/0.4368, allocations: 8.775 MB / 0.5252 GB, free: 2.23 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.makefile (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)