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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009447/0.0009448, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.409/1.409, allocations: 194.3 MB / 202.4 MB, free: 8.555 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001663/0.001663, allocations: 117.4 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1763/0.1763, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.177e-05/1.178e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.5103, allocations: 104.5 MB / 0.5398 GB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.5106, allocations: 90.53 kB / 0.5399 GB, free: 11.57 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.08183/0.5924, allocations: 27.5 MB / 0.5667 GB, free: 4.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5925, allocations: 0 / 0.5667 GB, free: 4.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.5925, allocations: 8 kB / 0.5667 GB, free: 4.523 MB / 378.7 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.001929/0.5945, allocations: 0.9037 MB / 0.5676 GB, free: 3.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5945, allocations: 8.031 kB / 0.5676 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.5947, allocations: 75.06 kB / 0.5677 GB, free: 3.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.5952, allocations: 348.3 kB / 0.568 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.5952, allocations: 28 kB / 0.568 GB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.684e-05/0.5953, allocations: 44 kB / 0.5681 GB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001519/0.5969, allocations: 1.218 MB / 0.5693 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.5983, allocations: 1.047 MB / 0.5703 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.5984, allocations: 0 / 0.5703 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.259e-05/0.5984, allocations: 0 / 0.5703 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-05/0.5985, allocations: 73.89 kB / 0.5704 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/0.6026, allocations: 2.774 MB / 0.5731 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007332/0.6034, allocations: 386 kB / 0.5734 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.6036, allocations: 121.5 kB / 0.5736 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.6036, allocations: 8.281 kB / 0.5736 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6037, allocations: 42.34 kB / 0.5736 GB, free: 14.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.6037, allocations: 0 / 0.5736 GB, free: 14.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005466/0.6042, allocations: 308.9 kB / 0.5739 GB, free: 14.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.6043, allocations: 59.39 kB / 0.574 GB, free: 14.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.6045, allocations: 188.5 kB / 0.5741 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.6045, allocations: 25.7 kB / 0.5742 GB, free: 14.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.6047, allocations: 385.2 kB / 0.5745 GB, free: 13.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/0.6048, allocations: 117.4 kB / 0.5746 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.6049, allocations: 0 / 0.5746 GB, free: 13.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.605, allocations: 327.5 kB / 0.575 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.6052, allocations: 121 kB / 0.5751 GB, free: 13.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.6056, allocations: 319.2 kB / 0.5754 GB, free: 12.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.6059, allocations: 182.6 kB / 0.5755 GB, free: 12.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.6059, allocations: 4 kB / 0.5756 GB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006638/0.6066, allocations: 464 kB / 0.576 GB, free: 12.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.6066, allocations: 8 kB / 0.576 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6066, allocations: 12.86 kB / 0.576 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.6067, allocations: 15.89 kB / 0.576 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.6074, allocations: 207.3 kB / 0.5762 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.609, allocations: 2.997 MB / 0.5792 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.6093, allocations: 51.86 kB / 0.5792 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.6094, allocations: 35.06 kB / 0.5792 GB, free: 8.895 MB / 394.7 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 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete 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.0001402/0.6095, allocations: 134.7 kB / 0.5794 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.6096, allocations: 23.72 kB / 0.5794 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.6107, allocations: 0.5074 MB / 0.5799 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6107, allocations: 4 kB / 0.5799 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6107, allocations: 0 / 0.5799 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6107, allocations: 3.984 kB / 0.5799 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.612, allocations: 0.9629 MB / 0.5808 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.612, allocations: 4 kB / 0.5808 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.6126, allocations: 171.1 kB / 0.581 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.6127, allocations: 4 kB / 0.581 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.6127, allocations: 17.33 kB / 0.581 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.6142, allocations: 2.962 MB / 0.5839 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6142, allocations: 4.344 kB / 0.5839 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.6148, allocations: 0.5446 MB / 0.5844 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.6149, allocations: 108.7 kB / 0.5846 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.6149, allocations: 7.953 kB / 0.5846 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.6151, allocations: 11.98 kB / 0.5846 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.6152, allocations: 35.14 kB / 0.5846 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.6152, allocations: 19.81 kB / 0.5846 GB, free: 3.379 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.066e-05/0.6153, allocations: 125.6 kB / 0.5847 GB, free: 3.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6153, allocations: 0 / 0.5847 GB, free: 3.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001225/0.6166, allocations: 360.5 kB / 0.5851 GB, free: 2.922 MB / 394.7 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 () * 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.0007785/0.6174, allocations: 425.9 kB / 0.5855 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007973/0.6182, allocations: 387.2 kB / 0.5859 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6182, allocations: 0 / 0.5859 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.6186, allocations: 203.6 kB / 0.5861 GB, free: 2.012 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.6189, allocations: 22.44 kB / 0.5861 GB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.6202, allocations: 0.8039 MB / 0.5869 GB, free: 1.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.6208, allocations: 0.9978 MB / 0.5878 GB, free: 180 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005043/0.6213, allocations: 170.8 kB / 0.588 GB, free: 12 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.6214, allocations: 42.09 kB / 0.588 GB, free: 15.97 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6214, allocations: 4 kB / 0.588 GB, free: 15.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01318/0.6346, allocations: 7.533 MB / 0.5954 GB, free: 8.473 MB / 410.7 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)