Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003538/0.003538, allocations: 173.7 kB / 7.447 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.368/1.368, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001709/0.001708, allocations: 116.4 kB / 217.7 MB, free: 8.16 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.178/0.178, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.1e-05, allocations: 1.062 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3969/0.5331, allocations: 89.16 MB / 487.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.5336, allocations: 90.83 kB / 487.5 MB, free: 13.4 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd: time 0.07562/0.6092, allocations: 22.08 MB / 0.4976 GB, free: 7.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.6093, allocations: 7.781 kB / 0.4976 GB, free: 7.449 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001306/0.6106, allocations: 0.5999 MB / 0.4982 GB, free: 6.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6106, allocations: 7.781 kB / 0.4982 GB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.6108, allocations: 35 kB / 0.4983 GB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.6113, allocations: 272.6 kB / 0.4985 GB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.6113, allocations: 19.53 kB / 0.4985 GB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.6114, allocations: 19.41 kB / 0.4986 GB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006818/0.612, allocations: 459.6 kB / 0.499 GB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.6127, allocations: 445 kB / 0.4994 GB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.6127, allocations: 0 / 0.4994 GB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.6127, allocations: 3.875 kB / 0.4994 GB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.6128, allocations: 43.03 kB / 0.4995 GB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.6146, allocations: 1.242 MB / 0.5007 GB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.6153, allocations: 351 kB / 0.501 GB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.6154, allocations: 106.8 kB / 0.5011 GB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.6155, allocations: 14.75 kB / 0.5011 GB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.6155, allocations: 38.31 kB / 0.5012 GB, free: 5.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/0.6155, allocations: 0 / 0.5012 GB, free: 5.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005175/0.616, allocations: 276.8 kB / 0.5014 GB, free: 5.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.6161, allocations: 62.19 kB / 0.5015 GB, free: 5.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.6162, allocations: 157.4 kB / 0.5016 GB, free: 5.164 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.6163, allocations: 25.7 kB / 0.5017 GB, free: 5.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.6164, allocations: 204.7 kB / 0.5019 GB, free: 4.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.6165, allocations: 88.31 kB / 0.5019 GB, free: 4.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.6165, allocations: 0 / 0.5019 GB, free: 4.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.6166, allocations: 332.7 kB / 0.5023 GB, free: 4.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.6168, allocations: 104.4 kB / 0.5024 GB, free: 4.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.6169, allocations: 144 kB / 0.5025 GB, free: 4.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.6171, allocations: 140.6 kB / 0.5026 GB, free: 4.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6171, allocations: 0 / 0.5026 GB, free: 4.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004737/0.6176, allocations: 323.4 kB / 0.5029 GB, free: 4.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6176, allocations: 9.188 kB / 0.5029 GB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6177, allocations: 0 / 0.5029 GB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6177, allocations: 2.594 kB / 0.5029 GB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.6184, allocations: 123.7 kB / 0.5031 GB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.6199, allocations: 3.035 MB / 0.506 GB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.6202, allocations: 27.42 kB / 0.5061 GB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.6202, allocations: 21.23 kB / 0.5061 GB, free: 1.324 MB / 330.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 (36): * Single equations (assignments): 31 * 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.0001026/0.6203, allocations: 111.5 kB / 0.5062 GB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.6204, allocations: 19.66 kB / 0.5062 GB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.6214, allocations: 452.7 kB / 0.5066 GB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.6214, allocations: 6.578 kB / 0.5066 GB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6215, allocations: 4 kB / 0.5066 GB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.6215, allocations: 5.219 kB / 0.5066 GB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.6219, allocations: 314.9 kB / 0.5069 GB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.622, allocations: 3.938 kB / 0.5069 GB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.6225, allocations: 117.1 kB / 0.5071 GB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.6226, allocations: 5.297 kB / 0.5071 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.6226, allocations: 8.984 kB / 0.5071 GB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.6244, allocations: 3.038 MB / 0.51 GB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6244, allocations: 0 / 0.51 GB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006025/0.625, allocations: 413.3 kB / 0.5104 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.6251, allocations: 95.52 kB / 0.5105 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.6252, allocations: 5.328 kB / 0.5105 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.6254, allocations: 10.62 kB / 0.5105 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.6255, allocations: 21.3 kB / 0.5106 GB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.6255, allocations: 16.75 kB / 0.5106 GB, free: 13.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001205/0.6256, allocations: 130.5 kB / 0.5107 GB, free: 13.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001011/0.6267, allocations: 202.7 kB / 0.5109 GB, free: 13.29 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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.0009309/0.6276, allocations: 269.9 kB / 0.5112 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.6286, allocations: 343.5 kB / 0.5115 GB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6286, allocations: 0 / 0.5115 GB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006427/0.6293, allocations: 208.2 kB / 0.5117 GB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.6296, allocations: 17.53 kB / 0.5117 GB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.6307, allocations: 474 kB / 0.5121 GB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.6314, allocations: 0.8865 MB / 0.513 GB, free: 12 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6315, allocations: 3.938 kB / 0.513 GB, free: 12 MB / 346.7 MB Notification: Performance of Templates: time 0.01531/0.6468, allocations: 6.357 MB / 0.5192 GB, free: 8.816 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1)