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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.006728/0.006728, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.297/1.297, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001636/0.001636, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3554/0.3554, allocations: 38.05 MB / 303.7 MB, free: 42.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005077, allocations: 16 kB / 362.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1424, allocations: 48.7 MB / 411.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.5223, allocations: 81.44 MB / 493 MB, free: 6.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5226, allocations: 108.7 kB / 493.1 MB, free: 6.258 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.02478/0.5474, allocations: 8.889 MB / 0.4903 GB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5475, allocations: 4 kB / 0.4903 GB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.5475, allocations: 0 / 0.4903 GB, free: 14.51 MB / 346.7 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.0009913/0.5485, allocations: 0.5272 MB / 0.4908 GB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.5486, allocations: 8.031 kB / 0.4908 GB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.5487, allocations: 35.62 kB / 0.4908 GB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.5491, allocations: 237.4 kB / 0.491 GB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.5492, allocations: 24.44 kB / 0.4911 GB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.5492, allocations: 34.25 kB / 0.4911 GB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/0.5502, allocations: 481.5 kB / 0.4916 GB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5503, allocations: 3.938 kB / 0.4916 GB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.5503, allocations: 18.81 kB / 0.4916 GB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/0.5504, allocations: 24.98 kB / 0.4916 GB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.5512, allocations: 434.8 kB / 0.492 GB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.5532, allocations: 1.212 MB / 0.4932 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.5535, allocations: 88.16 kB / 0.4933 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.5536, allocations: 4.141 kB / 0.4933 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.5536, allocations: 34.55 kB / 0.4933 GB, free: 11.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.5536, allocations: 4 kB / 0.4933 GB, free: 11.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006499/0.5543, allocations: 170.2 kB / 0.4935 GB, free: 11.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.5543, allocations: 51.41 kB / 0.4935 GB, free: 11.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5545, allocations: 149.3 kB / 0.4937 GB, free: 11.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.5546, allocations: 29.2 kB / 0.4937 GB, free: 11.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.5548, allocations: 221 kB / 0.4939 GB, free: 11.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.5548, allocations: 30.61 kB / 0.494 GB, free: 11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.5548, allocations: 7.438 kB / 0.494 GB, free: 11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.555, allocations: 318.3 kB / 0.4943 GB, free: 10.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.5552, allocations: 58.38 kB / 0.4943 GB, free: 10.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.5555, allocations: 174 kB / 0.4945 GB, free: 10.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.5558, allocations: 89.19 kB / 0.4946 GB, free: 10.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.5558, allocations: 4 kB / 0.4946 GB, free: 10.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005914/0.5564, allocations: 253.5 kB / 0.4948 GB, free: 10.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.5564, allocations: 8 kB / 0.4948 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5565, allocations: 8.562 kB / 0.4948 GB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.5565, allocations: 12 kB / 0.4948 GB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.5569, allocations: 87.81 kB / 0.4949 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.5583, allocations: 1.784 MB / 0.4967 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.5585, allocations: 27.5 kB / 0.4967 GB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.5586, allocations: 27.11 kB / 0.4967 GB, free: 8.125 MB / 346.7 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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002845/0.5589, allocations: 179.5 kB / 0.4969 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.5589, allocations: 8 kB / 0.4969 GB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.5597, allocations: 212.5 kB / 0.4971 GB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.5597, allocations: 0 / 0.4971 GB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5597, allocations: 3.938 kB / 0.4971 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5597, allocations: 0 / 0.4971 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.5603, allocations: 307.5 kB / 0.4974 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5603, allocations: 3.984 kB / 0.4974 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.5606, allocations: 63.89 kB / 0.4975 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5606, allocations: 4 kB / 0.4975 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.5606, allocations: 7.438 kB / 0.4975 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.5621, allocations: 1.764 MB / 0.4992 GB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5621, allocations: 0 / 0.4992 GB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.5626, allocations: 225.5 kB / 0.4994 GB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.5627, allocations: 96.86 kB / 0.4995 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.5627, allocations: 3.625 kB / 0.4995 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5629, allocations: 8 kB / 0.4995 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.563, allocations: 7.984 kB / 0.4995 GB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.563, allocations: 4 kB / 0.4995 GB, free: 5.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.5631, allocations: 122.7 kB / 0.4996 GB, free: 5.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5631, allocations: 0 / 0.4996 GB, free: 5.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007969/0.564, allocations: 103.2 kB / 0.4997 GB, free: 4.988 MB / 346.7 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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004236/0.5644, allocations: 170.4 kB / 0.4999 GB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006825/0.5651, allocations: 182 kB / 0.5001 GB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5651, allocations: 4 kB / 0.5001 GB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.5655, allocations: 83.06 kB / 0.5002 GB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.5657, allocations: 3.75 kB / 0.5002 GB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.567, allocations: 0.5763 MB / 0.5007 GB, free: 3.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.5676, allocations: 0.8117 MB / 0.5015 GB, free: 3.156 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000302/0.5679, allocations: 73.11 kB / 0.5016 GB, free: 3.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.568, allocations: 15.44 kB / 0.5016 GB, free: 3.07 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.568, allocations: 0 / 0.5016 GB, free: 3.07 MB / 346.7 MB Notification: Performance of Templates: time 0.009641/0.5776, allocations: 3.084 MB / 0.5046 GB, free: 32 kB / 346.7 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)