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_overall_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_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.005259/0.005259, allocations: 171.8 kB / 7.446 MB, free: 2.512 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.298/1.298, 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.001566/0.001566, allocations: 123.8 kB / 217.7 MB, free: 8.152 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.1651/0.1651, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.732e-06, allocations: 1.094 kB / 349.5 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4492, allocations: 89.92 MB / 488.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.4495, allocations: 91.05 kB / 488.2 MB, free: 13.3 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6094:11-6097: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:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.05216/0.5017, allocations: 17.41 MB / 0.4938 GB, free: 8.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.5018, allocations: 11.69 kB / 0.4938 GB, free: 8.922 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001416/0.5032, allocations: 0.6281 MB / 0.4944 GB, free: 8.363 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5033, allocations: 11.34 kB / 0.4944 GB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.5034, allocations: 30.69 kB / 0.4945 GB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.5039, allocations: 233.6 kB / 0.4947 GB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5039, allocations: 11.62 kB / 0.4947 GB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.504, allocations: 15.53 kB / 0.4947 GB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006747/0.5046, allocations: 417.9 kB / 0.4951 GB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.5053, allocations: 408.1 kB / 0.4955 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.5053, allocations: 0 / 0.4955 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.5053, allocations: 0 / 0.4955 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-05/0.5054, allocations: 47.19 kB / 0.4955 GB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.5075, allocations: 1.269 MB / 0.4968 GB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.5079, allocations: 274.3 kB / 0.497 GB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.508, allocations: 84.47 kB / 0.4971 GB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.5081, allocations: 7.547 kB / 0.4971 GB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5081, allocations: 33.88 kB / 0.4972 GB, free: 6.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.325e-06/0.5081, allocations: 0 / 0.4972 GB, free: 6.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004278/0.5086, allocations: 216.1 kB / 0.4974 GB, free: 6.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.5086, allocations: 63.28 kB / 0.4974 GB, free: 6.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.5087, allocations: 123.7 kB / 0.4976 GB, free: 6.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.5087, allocations: 25.7 kB / 0.4976 GB, free: 6.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.5088, allocations: 192.3 kB / 0.4978 GB, free: 6.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.5088, allocations: 88.22 kB / 0.4978 GB, free: 6.418 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.5089, allocations: 0 / 0.4978 GB, free: 6.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.5089, allocations: 329.8 kB / 0.4982 GB, free: 6.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.5091, allocations: 71.42 kB / 0.4982 GB, free: 6.086 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.5092, allocations: 163.2 kB / 0.4984 GB, free: 5.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.5094, allocations: 95.67 kB / 0.4985 GB, free: 5.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5094, allocations: 3.875 kB / 0.4985 GB, free: 5.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004859/0.5099, allocations: 268.9 kB / 0.4987 GB, free: 5.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5099, allocations: 3.906 kB / 0.4987 GB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5099, allocations: 7.781 kB / 0.4987 GB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.51, allocations: 3.875 kB / 0.4988 GB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.5106, allocations: 139.5 kB / 0.4989 GB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.5117, allocations: 2.39 MB / 0.5012 GB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.5119, allocations: 23.25 kB / 0.5012 GB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.5119, allocations: 18.77 kB / 0.5013 GB, free: 3.398 MB / 330.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 () * 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 9.603e-05/0.512, allocations: 116.9 kB / 0.5014 GB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.5121, allocations: 15.38 kB / 0.5014 GB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/0.5128, allocations: 369 kB / 0.5017 GB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5128, allocations: 3.844 kB / 0.5017 GB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.5128, allocations: 0 / 0.5017 GB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.5129, allocations: 7.984 kB / 0.5017 GB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.5132, allocations: 273.1 kB / 0.502 GB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5132, allocations: 3.844 kB / 0.502 GB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.5137, allocations: 115.1 kB / 0.5021 GB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5137, allocations: 0 / 0.5021 GB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.5137, allocations: 11.42 kB / 0.5021 GB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.5149, allocations: 2.378 MB / 0.5045 GB, free: 16.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5149, allocations: 0 / 0.5045 GB, free: 16.5 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003792/0.5153, allocations: 337.4 kB / 0.5048 GB, free: 16.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.5153, allocations: 92.77 kB / 0.5049 GB, free: 16.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.5154, allocations: 8.125 kB / 0.5049 GB, free: 16.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.5155, allocations: 11.67 kB / 0.5049 GB, free: 16.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.5156, allocations: 30.84 kB / 0.5049 GB, free: 16.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.5156, allocations: 7.859 kB / 0.5049 GB, free: 16.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.421e-05/0.5157, allocations: 105.4 kB / 0.505 GB, free: 16.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009357/0.5166, allocations: 251.4 kB / 0.5053 GB, free: 16 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 (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.0009768/0.5176, allocations: 386.5 kB / 0.5056 GB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005949/0.5182, allocations: 263.4 kB / 0.5059 GB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5183, allocations: 0 / 0.5059 GB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.5187, allocations: 165.4 kB / 0.506 GB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.5189, allocations: 15.8 kB / 0.5061 GB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.5197, allocations: 377.7 kB / 0.5064 GB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/0.5203, allocations: 0.8487 MB / 0.5072 GB, free: 14.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5203, allocations: 3.938 kB / 0.5072 GB, free: 14.73 MB / 346.7 MB Notification: Performance of Templates: time 0.01592/0.5362, allocations: 6.208 MB / 0.5133 GB, free: 11.61 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1)