Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_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.Valve.dp_severalGeometryOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_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.004635/0.004635, allocations: 178.8 kB / 7.451 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.183/1.183, allocations: 170.6 MB / 178.4 MB, free: 15.8 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.001979/0.001979, allocations: 107.9 kB / 217.7 MB, free: 8.578 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.1642/0.1642, allocations: 37.97 MB / 294.8 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.846e-06/8.876e-06, allocations: 1.156 kB / 349.5 MB, free: 37.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 48.72 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3846/0.5216, allocations: 86.34 MB / 484.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.5221, allocations: 94.44 kB / 484.7 MB, free: 13.42 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6536:11-6538:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6547:11-6549:131:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6584:11-6586:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6595:11-6597:129:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6529:11-6534:62:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6540:11-6545:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6552:11-6557:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6564:11-6569:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6577:11-6582:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6588:11-6593:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6559:11-6562:78:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6571:11-6573:134:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd: time 0.06786/0.5899, allocations: 23.62 MB / 0.4964 GB, free: 7.812 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.292e-05/0.59, allocations: 22.97 kB / 0.4964 GB, free: 7.812 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003117/0.5931, allocations: 1.458 MB / 0.4978 GB, free: 6.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5932, allocations: 11.66 kB / 0.4978 GB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006751/0.5939, allocations: 177.2 kB / 0.498 GB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.5953, allocations: 0.6228 MB / 0.4986 GB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.5954, allocations: 61.94 kB / 0.4987 GB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/0.5958, allocations: 112.5 kB / 0.4988 GB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005175/0.601, allocations: 3.28 MB / 0.502 GB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.6055, allocations: 2.396 MB / 0.5043 GB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/0.6056, allocations: 3.938 kB / 0.5043 GB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.6058, allocations: 5.438 kB / 0.5043 GB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/0.6059, allocations: 146.2 kB / 0.5045 GB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.6186, allocations: 6.53 MB / 0.5108 GB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.6201, allocations: 0.5991 MB / 0.5114 GB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.6205, allocations: 210.4 kB / 0.5116 GB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.6206, allocations: 25.02 kB / 0.5116 GB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.6207, allocations: 45.48 kB / 0.5117 GB, free: 2.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 4.108e-06/0.6207, allocations: 0 / 0.5117 GB, free: 2.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001586/0.6223, allocations: 0.625 MB / 0.5123 GB, free: 1.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.6223, allocations: 57.94 kB / 0.5124 GB, free: 1.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.6245, allocations: 1.192 MB / 0.5135 GB, free: 1.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.6246, allocations: 25.7 kB / 0.5135 GB, free: 1.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.6258, allocations: 1.272 MB / 0.5148 GB, free: 408 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004062/0.6262, allocations: 270.4 kB / 0.515 GB, free: 228 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.6264, allocations: 0.75 kB / 0.515 GB, free: 228 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004579/0.6268, allocations: 443.6 kB / 0.5155 GB, free: 15.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.6283, allocations: 0.5918 MB / 0.516 GB, free: 15.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/0.6316, allocations: 2.621 MB / 0.5186 GB, free: 12.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.6338, allocations: 1.203 MB / 0.5198 GB, free: 12.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.468e-05/0.6338, allocations: 33.08 kB / 0.5198 GB, free: 12.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.005458/0.6393, allocations: 2.704 MB / 0.5225 GB, free: 11.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.6393, allocations: 4 kB / 0.5225 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.589e-05/0.6394, allocations: 76 kB / 0.5225 GB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.6395, allocations: 111.9 kB / 0.5226 GB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/0.6423, allocations: 0.8725 MB / 0.5235 GB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.6462, allocations: 6.103 MB / 0.5294 GB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.6487, allocations: 344.4 kB / 0.5298 GB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.649, allocations: 218.7 kB / 0.53 GB, free: 3.246 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004549/0.6495, allocations: 303.5 kB / 0.5303 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.6497, allocations: 122.4 kB / 0.5304 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.6539, allocations: 1.446 MB / 0.5318 GB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.6539, allocations: 7.938 kB / 0.5318 GB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.6539, allocations: 4 kB / 0.5318 GB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.6539, allocations: 7.969 kB / 0.5318 GB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.6554, allocations: 0.7767 MB / 0.5326 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6554, allocations: 0 / 0.5326 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.6566, allocations: 317.6 kB / 0.5329 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.6567, allocations: 0 / 0.5329 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/0.6567, allocations: 34.03 kB / 0.5329 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003767/0.6605, allocations: 5.961 MB / 0.5387 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6605, allocations: 0 / 0.5387 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001207/0.6617, allocations: 0.776 MB / 0.5395 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.6622, allocations: 296.4 kB / 0.5398 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.6624, allocations: 8.047 kB / 0.5398 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.6628, allocations: 27.98 kB / 0.5398 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.663, allocations: 63.19 kB / 0.5399 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/0.6631, allocations: 43.48 kB / 0.5399 GB, free: 9.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001091/0.6642, allocations: 0.7354 MB / 0.5406 GB, free: 8.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002689/0.6669, allocations: 419.1 kB / 0.541 GB, free: 8.199 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007098/0.6676, allocations: 305.7 kB / 0.5413 GB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003931/0.6715, allocations: 1.685 MB / 0.543 GB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6716, allocations: 4 kB / 0.543 GB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.6729, allocations: 474.9 kB / 0.5434 GB, free: 5.777 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.6734, allocations: 72.75 kB / 0.5435 GB, free: 5.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.678, allocations: 1.986 MB / 0.5454 GB, free: 3.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/0.6796, allocations: 1.662 MB / 0.5471 GB, free: 1.984 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6796, allocations: 0 / 0.5471 GB, free: 1.984 MB / 362.7 MB Notification: Performance of Templates: time 0.03738/0.717, allocations: 15.96 MB / 0.5626 GB, free: 2.18 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1)