Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006371/0.006371, allocations: 166.3 kB / 15.11 MB, free: 5.578 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.463/1.463, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001671/0.001671, allocations: 106.6 kB / 226.2 MB, free: 10.12 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.3628/0.3628, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.000425, allocations: 12 kB / 362.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 48.69 MB / 411.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.479, allocations: 83.6 MB / 495.2 MB, free: 4.211 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4793, allocations: 97.42 kB / 495.3 MB, free: 4.152 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03299/0.5123, allocations: 11.26 MB / 0.4947 GB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5123, allocations: 4 kB / 0.4947 GB, free: 10.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.5123, allocations: 4 kB / 0.4947 GB, free: 10.5 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009424/0.5133, allocations: 0.5871 MB / 0.4953 GB, free: 9.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.5133, allocations: 8.031 kB / 0.4953 GB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.5134, allocations: 31.62 kB / 0.4953 GB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.5137, allocations: 241.1 kB / 0.4955 GB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.5137, allocations: 19.09 kB / 0.4955 GB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.5138, allocations: 38.5 kB / 0.4956 GB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.5145, allocations: 459.7 kB / 0.496 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5145, allocations: 4 kB / 0.496 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.5146, allocations: 10.5 kB / 0.496 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.5146, allocations: 39.72 kB / 0.4961 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/0.5154, allocations: 0.5564 MB / 0.4966 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.5173, allocations: 1.364 MB / 0.4979 GB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.5178, allocations: 287.7 kB / 0.4982 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.5179, allocations: 12.33 kB / 0.4982 GB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.5179, allocations: 41.31 kB / 0.4983 GB, free: 7.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.5179, allocations: 0 / 0.4983 GB, free: 7.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006963/0.5186, allocations: 340.7 kB / 0.4986 GB, free: 6.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.5187, allocations: 55.41 kB / 0.4986 GB, free: 6.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.5188, allocations: 128.6 kB / 0.4988 GB, free: 6.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.5188, allocations: 33.52 kB / 0.4988 GB, free: 6.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.5189, allocations: 191 kB / 0.499 GB, free: 6.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.519, allocations: 85.62 kB / 0.4991 GB, free: 6.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.519, allocations: 3.75 kB / 0.4991 GB, free: 6.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5191, allocations: 326.5 kB / 0.4994 GB, free: 6.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.5193, allocations: 92.73 kB / 0.4995 GB, free: 5.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.5196, allocations: 175.5 kB / 0.4996 GB, free: 5.777 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.5198, allocations: 120.6 kB / 0.4998 GB, free: 5.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5198, allocations: 4 kB / 0.4998 GB, free: 5.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005552/0.5204, allocations: 332 kB / 0.5001 GB, free: 5.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5204, allocations: 11.95 kB / 0.5001 GB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5204, allocations: 3.938 kB / 0.5001 GB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5204, allocations: 11.98 kB / 0.5001 GB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.521, allocations: 123.8 kB / 0.5002 GB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.5221, allocations: 2.368 MB / 0.5025 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.5223, allocations: 31.67 kB / 0.5026 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.5223, allocations: 12 kB / 0.5026 GB, free: 2.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.5225, allocations: 184.5 kB / 0.5027 GB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.5226, allocations: 15.81 kB / 0.5028 GB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007788/0.5233, allocations: 386.2 kB / 0.5031 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.5234, allocations: 4 kB / 0.5031 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5234, allocations: 0 / 0.5031 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5234, allocations: 3.938 kB / 0.5031 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.5238, allocations: 346.3 kB / 0.5035 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5238, allocations: 0 / 0.5035 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.5243, allocations: 115.8 kB / 0.5036 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5243, allocations: 4 kB / 0.5036 GB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.5243, allocations: 15.86 kB / 0.5036 GB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.5254, allocations: 2.357 MB / 0.5059 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5254, allocations: 0 / 0.5059 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.5259, allocations: 383.9 kB / 0.5063 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.526, allocations: 88.95 kB / 0.5063 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.526, allocations: 7.688 kB / 0.5064 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.5262, allocations: 14.48 kB / 0.5064 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.5263, allocations: 27.95 kB / 0.5064 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.5263, allocations: 15.19 kB / 0.5064 GB, free: 14.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.775e-05/0.5264, allocations: 103.7 kB / 0.5065 GB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5264, allocations: 0 / 0.5065 GB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006535/0.527, allocations: 191.7 kB / 0.5067 GB, free: 14.59 MB / 362.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005878/0.5276, allocations: 266.2 kB / 0.5069 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006996/0.5283, allocations: 288.2 kB / 0.5072 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5283, allocations: 0 / 0.5072 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.5287, allocations: 171.3 kB / 0.5074 GB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.5289, allocations: 15.5 kB / 0.5074 GB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.53, allocations: 0.7088 MB / 0.5081 GB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.5304, allocations: 0.8049 MB / 0.5089 GB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.5307, allocations: 101.7 kB / 0.509 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.5308, allocations: 31.3 kB / 0.509 GB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 4.188e-06/0.5308, allocations: 3.938 kB / 0.509 GB, free: 12.26 MB / 362.7 MB Notification: Performance of Templates: time 0.008458/0.5393, allocations: 4.301 MB / 0.5132 GB, free: 7.988 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1)