Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001418/0.001418, allocations: 181.1 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.54/1.54, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001525/0.001524, allocations: 110 kB / 252.6 MB, free: 4.781 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.1731/0.1731, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.498e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09758, allocations: 54.85 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4599, allocations: 92.95 MB / 0.5353 GB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4602, allocations: 97.11 kB / 0.5354 GB, free: 14.62 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4809:11-4812: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.2+maint.om/Fluid/Dissipation.mo:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.0455/0.5057, allocations: 15.13 MB / 0.5501 GB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5058, allocations: 4 kB / 0.5501 GB, free: 1.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.5058, allocations: 4 kB / 0.5501 GB, free: 1.527 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000856/0.5067, allocations: 0.5459 MB / 0.5507 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5067, allocations: 8.031 kB / 0.5507 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.5068, allocations: 27.62 kB / 0.5507 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.5071, allocations: 229.9 kB / 0.5509 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.5071, allocations: 19.61 kB / 0.5509 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.5071, allocations: 23.31 kB / 0.551 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.5076, allocations: 357.8 kB / 0.5513 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5077, allocations: 0 / 0.5513 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.5077, allocations: 10.45 kB / 0.5513 GB, free: 352 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.5078, allocations: 31.89 kB / 0.5513 GB, free: 324 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.5082, allocations: 362.4 kB / 0.5517 GB, free: 48 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.5097, allocations: 1.056 MB / 0.5527 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.5102, allocations: 260.5 kB / 0.553 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.5104, allocations: 82.56 kB / 0.5531 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.5104, allocations: 11.44 kB / 0.5531 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.5104, allocations: 30.75 kB / 0.5531 GB, free: 14.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.5104, allocations: 3.938 kB / 0.5531 GB, free: 14.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004041/0.5109, allocations: 221.1 kB / 0.5533 GB, free: 14.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.5109, allocations: 55.41 kB / 0.5534 GB, free: 14.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.5111, allocations: 200.4 kB / 0.5535 GB, free: 14.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.5111, allocations: 32.52 kB / 0.5536 GB, free: 14.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.5112, allocations: 152.7 kB / 0.5537 GB, free: 14.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.5113, allocations: 76.84 kB / 0.5538 GB, free: 14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.5113, allocations: 3.688 kB / 0.5538 GB, free: 14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5114, allocations: 329.3 kB / 0.5541 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.5115, allocations: 66.02 kB / 0.5542 GB, free: 13.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.5117, allocations: 95.59 kB / 0.5543 GB, free: 13.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5118, allocations: 89.75 kB / 0.5544 GB, free: 13.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5118, allocations: 0 / 0.5544 GB, free: 13.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003574/0.5122, allocations: 221.3 kB / 0.5546 GB, free: 13.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5122, allocations: 8 kB / 0.5546 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5122, allocations: 0 / 0.5546 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5122, allocations: 4.062 kB / 0.5546 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.5127, allocations: 91.3 kB / 0.5547 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.5141, allocations: 2.377 MB / 0.557 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.5143, allocations: 38.66 kB / 0.557 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.5143, allocations: 11.56 kB / 0.557 GB, free: 10.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * 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.0001102/0.5144, allocations: 119.3 kB / 0.5571 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.5145, allocations: 23.72 kB / 0.5572 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.5151, allocations: 321.8 kB / 0.5575 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5152, allocations: 4 kB / 0.5575 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5152, allocations: 0 / 0.5575 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5152, allocations: 4 kB / 0.5575 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.5156, allocations: 322.7 kB / 0.5578 GB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5156, allocations: 0 / 0.5578 GB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.516, allocations: 91.86 kB / 0.5579 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.516, allocations: 7.938 kB / 0.5579 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.516, allocations: 11.42 kB / 0.5579 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.5172, allocations: 2.382 MB / 0.5602 GB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5173, allocations: 8.031 kB / 0.5602 GB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.5177, allocations: 333 kB / 0.5606 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.5178, allocations: 130.3 kB / 0.5607 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.5179, allocations: 11.23 kB / 0.5607 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.518, allocations: 11.39 kB / 0.5607 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.5181, allocations: 19.97 kB / 0.5607 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.5181, allocations: 15.92 kB / 0.5607 GB, free: 6.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.5183, allocations: 162.2 kB / 0.5609 GB, free: 6.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5183, allocations: 0 / 0.5609 GB, free: 6.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006481/0.5189, allocations: 177.6 kB / 0.5611 GB, free: 6.559 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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.0005063/0.5195, allocations: 270.5 kB / 0.5613 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.52, allocations: 220 kB / 0.5615 GB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.52, allocations: 0 / 0.5615 GB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.5204, allocations: 144.5 kB / 0.5617 GB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.5207, allocations: 38.42 kB / 0.5617 GB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.5214, allocations: 368.4 kB / 0.562 GB, free: 5.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.5217, allocations: 0.7941 MB / 0.5628 GB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002275/0.522, allocations: 77.89 kB / 0.5629 GB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.5221, allocations: 31.42 kB / 0.5629 GB, free: 4.676 MB / 378.7 MB Notification: Performance of SimCode: time 2.034e-06/0.5221, allocations: 0 / 0.5629 GB, free: 4.676 MB / 378.7 MB Notification: Performance of Templates: time 0.009501/0.5316, allocations: 5.474 MB / 0.5683 GB, free: 15.23 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1)