Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.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.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.6 kB / 7.65 MB, free: 1.402 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.43/1.43, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.001648/0.001648, allocations: 113 kB / 247.4 MB, free: 6.242 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.194/0.194, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.31e-05, allocations: 0 / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09575, allocations: 54.89 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.4999, allocations: 100.4 MB / 0.5358 GB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5002, allocations: 94.88 kB / 0.5359 GB, free: 15.57 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4477:11-4491:77:writable] Error: Got type mismatch error, but matching types Real. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4453:11-4467:78:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4502:11-4516:76:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.09715/0.5974, allocations: 37.81 MB / 0.5728 GB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5974, allocations: 0 / 0.5728 GB, free: 15.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.298e-05/0.5975, allocations: 12 kB / 0.5728 GB, free: 15.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002008/0.5995, allocations: 1.19 MB / 0.574 GB, free: 14.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5996, allocations: 12.03 kB / 0.574 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.5997, allocations: 126.4 kB / 0.5741 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006815/0.6004, allocations: 491.3 kB / 0.5746 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.6005, allocations: 32 kB / 0.5746 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6006, allocations: 56 kB / 0.5746 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/0.6022, allocations: 1.169 MB / 0.5758 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.6038, allocations: 1.143 MB / 0.5769 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.6038, allocations: 0 / 0.5769 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.6039, allocations: 11.94 kB / 0.5769 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/0.604, allocations: 61.39 kB / 0.577 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.6076, allocations: 2.671 MB / 0.5796 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/0.6085, allocations: 0.6434 MB / 0.5802 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.6088, allocations: 222.8 kB / 0.5804 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.6089, allocations: 8.047 kB / 0.5804 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.609, allocations: 46.67 kB / 0.5805 GB, free: 9.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 2.464e-06/0.609, allocations: 0 / 0.5805 GB, free: 9.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001022/0.61, allocations: 0.515 MB / 0.581 GB, free: 8.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.6101, allocations: 183.9 kB / 0.5811 GB, free: 8.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006002/0.6107, allocations: 0.558 MB / 0.5817 GB, free: 7.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.6108, allocations: 29.86 kB / 0.5817 GB, free: 7.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.6111, allocations: 0.5736 MB / 0.5823 GB, free: 7.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.6112, allocations: 110.2 kB / 0.5824 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.6113, allocations: 0 / 0.5824 GB, free: 7.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6114, allocations: 386.5 kB / 0.5828 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.6118, allocations: 232.2 kB / 0.583 GB, free: 6.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/0.6123, allocations: 0.5465 MB / 0.5835 GB, free: 6.086 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.6128, allocations: 318.1 kB / 0.5838 GB, free: 5.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.6128, allocations: 7.938 kB / 0.5838 GB, free: 5.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001212/0.614, allocations: 0.7882 MB / 0.5846 GB, free: 5.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6141, allocations: 8.219 kB / 0.5846 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.6141, allocations: 16 kB / 0.5846 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.6141, allocations: 16 kB / 0.5846 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.6148, allocations: 173.8 kB / 0.5848 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.6148, allocations: 23.88 kB / 0.5848 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.6154, allocations: 87.48 kB / 0.5849 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.6155, allocations: 45.98 kB / 0.5849 GB, free: 4.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.6157, allocations: 154.4 kB / 0.5851 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.6159, allocations: 71.06 kB / 0.5852 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.617, allocations: 0.679 MB / 0.5858 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.6171, allocations: 8 kB / 0.5858 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6171, allocations: 0 / 0.5858 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6171, allocations: 0 / 0.5858 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.6183, allocations: 0.6465 MB / 0.5865 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6183, allocations: 0 / 0.5865 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.6187, allocations: 117.7 kB / 0.5866 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.6188, allocations: 0 / 0.5866 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.6188, allocations: 17.55 kB / 0.5866 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6188, allocations: 4 kB / 0.5866 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6188, allocations: 3.938 kB / 0.5866 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6199, allocations: 1.041 MB / 0.5876 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.6201, allocations: 147.1 kB / 0.5878 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.6202, allocations: 0 / 0.5878 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.6207, allocations: 47.95 kB / 0.5878 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.6208, allocations: 43.88 kB / 0.5878 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.6209, allocations: 27.98 kB / 0.5879 GB, free: 1.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004356/0.6213, allocations: 411.1 kB / 0.5883 GB, free: 1.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6213, allocations: 0 / 0.5883 GB, free: 1.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001421/0.6227, allocations: 338.9 kB / 0.5886 GB, free: 1.109 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005954/0.6233, allocations: 314.2 kB / 0.5889 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009169/0.6243, allocations: 0.5487 MB / 0.5894 GB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6243, allocations: 0 / 0.5894 GB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.6246, allocations: 247.6 kB / 0.5897 GB, free: 8 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007781/0.6254, allocations: 113.6 kB / 0.5898 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.6277, allocations: 1.305 MB / 0.591 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007637/0.6285, allocations: 1.186 MB / 0.5922 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006779/0.6292, allocations: 315.2 kB / 0.5925 GB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.6294, allocations: 59.41 kB / 0.5926 GB, free: 12.97 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6294, allocations: 0 / 0.5926 GB, free: 12.97 MB / 410.7 MB Notification: Performance of Templates: time 0.01654/0.6459, allocations: 9.351 MB / 0.6017 GB, free: 3.68 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)