Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_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.Valve.dp_severalGeometryOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.2+maint.om/package.mo): time 0.002356/0.002356, allocations: 186.3 kB / 7.463 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.325/1.325, allocations: 194.2 MB / 202.1 MB, free: 8.812 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.001847/0.001847, allocations: 120.2 kB / 247.1 MB, free: 6.328 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.1718/0.1718, allocations: 39.94 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.378e-06/9.558e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/0.4392, allocations: 92.87 MB / 0.5279 GB, free: 7.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.4395, allocations: 100.1 kB / 0.528 GB, free: 7.254 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.2+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.06602/0.5056, allocations: 23.62 MB / 0.551 GB, free: 3.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.387e-05/0.5056, allocations: 20 kB / 0.551 GB, free: 3.797 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003006/0.5087, allocations: 1.459 MB / 0.5525 GB, free: 2.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5087, allocations: 12.03 kB / 0.5525 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005311/0.5093, allocations: 177.8 kB / 0.5526 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.5105, allocations: 0.6271 MB / 0.5533 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/0.5106, allocations: 64 kB / 0.5533 GB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.511, allocations: 112 kB / 0.5534 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004521/0.5155, allocations: 3.276 MB / 0.5566 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.5192, allocations: 2.393 MB / 0.559 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.5192, allocations: 7.906 kB / 0.559 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.5194, allocations: 3.938 kB / 0.559 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.5196, allocations: 147.5 kB / 0.5591 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.5319, allocations: 6.535 MB / 0.5655 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.5329, allocations: 0.6005 MB / 0.5661 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.5332, allocations: 208.7 kB / 0.5663 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.4e-05/0.5333, allocations: 32.17 kB / 0.5663 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.5334, allocations: 47.06 kB / 0.5664 GB, free: 7.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.986e-06/0.5334, allocations: 0 / 0.5664 GB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.00119/0.5346, allocations: 0.6242 MB / 0.567 GB, free: 6.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5346, allocations: 60.06 kB / 0.567 GB, free: 6.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.5359, allocations: 1.188 MB / 0.5682 GB, free: 5.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.536, allocations: 25.7 kB / 0.5682 GB, free: 5.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008661/0.5368, allocations: 1.277 MB / 0.5695 GB, free: 4.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.5371, allocations: 265.8 kB / 0.5697 GB, free: 4.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.5371, allocations: 3.938 kB / 0.5697 GB, free: 4.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.5374, allocations: 447.4 kB / 0.5701 GB, free: 3.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008519/0.5382, allocations: 0.5887 MB / 0.5707 GB, free: 3.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.5405, allocations: 2.621 MB / 0.5733 GB, free: 15.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.542, allocations: 1.196 MB / 0.5744 GB, free: 14.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.5421, allocations: 28 kB / 0.5745 GB, free: 14.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.004207/0.5463, allocations: 2.716 MB / 0.5771 GB, free: 12.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5463, allocations: 4 kB / 0.5771 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.66e-05/0.5464, allocations: 72 kB / 0.5772 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/0.5465, allocations: 111.9 kB / 0.5773 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.5491, allocations: 0.8699 MB / 0.5782 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.5523, allocations: 6.09 MB / 0.5841 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.5544, allocations: 352.3 kB / 0.5844 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.5547, allocations: 216 kB / 0.5846 GB, free: 4.355 MB / 394.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.0004326/0.5551, allocations: 308.3 kB / 0.5849 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.5553, allocations: 122.4 kB / 0.5851 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.559, allocations: 1.439 MB / 0.5865 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.559, allocations: 8 kB / 0.5865 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5591, allocations: 7.891 kB / 0.5865 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5591, allocations: 3.984 kB / 0.5865 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.5602, allocations: 0.7747 MB / 0.5872 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.5602, allocations: 0 / 0.5872 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.5614, allocations: 319.7 kB / 0.5875 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.5615, allocations: 8 kB / 0.5875 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.5615, allocations: 27.98 kB / 0.5876 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/0.5644, allocations: 5.954 MB / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5644, allocations: 0 / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001024/0.5654, allocations: 0.779 MB / 0.5942 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.5659, allocations: 303.2 kB / 0.5944 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.566, allocations: 4.188 kB / 0.5944 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.5664, allocations: 27.97 kB / 0.5945 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.5666, allocations: 68.48 kB / 0.5945 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.5666, allocations: 43.97 kB / 0.5946 GB, free: 9.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0009263/0.5676, allocations: 0.7301 MB / 0.5953 GB, free: 9.117 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002197/0.5698, allocations: 423.1 kB / 0.5957 GB, free: 8.703 MB / 410.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.0005566/0.5704, allocations: 307.8 kB / 0.596 GB, free: 8.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.5735, allocations: 1.684 MB / 0.5976 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5736, allocations: 0 / 0.5976 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.5747, allocations: 479.3 kB / 0.5981 GB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.5751, allocations: 76.66 kB / 0.5982 GB, free: 6.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.5791, allocations: 1.979 MB / 0.6001 GB, free: 4.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/0.5809, allocations: 1.666 MB / 0.6017 GB, free: 2.453 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/0.5809, allocations: 0 / 0.6017 GB, free: 2.453 MB / 410.7 MB Notification: Performance of Templates: time 0.03358/0.6145, allocations: 15.95 MB / 0.6173 GB, free: 2.527 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1)