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.001023/0.001023, allocations: 182.4 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.433/1.433, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001658/0.001658, allocations: 111 kB / 252.6 MB, free: 4.82 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.1803/0.1803, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.647e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.0991, allocations: 54.85 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.5146, allocations: 101.1 MB / 0.5432 GB, free: 6.574 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005156/0.5152, allocations: 98.17 kB / 0.5433 GB, free: 6.516 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.1021/0.6173, allocations: 38.24 MB / 0.5806 GB, free: 5.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6174, allocations: 0 / 0.5806 GB, free: 5.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.991e-05/0.6174, allocations: 16 kB / 0.5807 GB, free: 5.523 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.001745/0.6192, allocations: 1.177 MB / 0.5818 GB, free: 4.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6192, allocations: 12.02 kB / 0.5818 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.6194, allocations: 130.4 kB / 0.5819 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.6201, allocations: 490.2 kB / 0.5824 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.6201, allocations: 76.86 kB / 0.5825 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.6203, allocations: 88.38 kB / 0.5826 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.622, allocations: 1.3 MB / 0.5838 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.622, allocations: 0 / 0.5838 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.6221, allocations: 43.06 kB / 0.5839 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.392e-05/0.6222, allocations: 61.09 kB / 0.5839 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.6237, allocations: 1.247 MB / 0.5852 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.6282, allocations: 3.094 MB / 0.5882 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009674/0.6292, allocations: 0.6599 MB / 0.5888 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.6295, allocations: 237.6 kB / 0.5891 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.6296, allocations: 8.172 kB / 0.5891 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.6296, allocations: 45.84 kB / 0.5891 GB, free: 14.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.996e-06/0.6296, allocations: 0 / 0.5891 GB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001101/0.6307, allocations: 0.5781 MB / 0.5897 GB, free: 13.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.6308, allocations: 196 kB / 0.5899 GB, free: 13.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.6322, allocations: 1.172 MB / 0.591 GB, free: 12.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.6322, allocations: 29.58 kB / 0.591 GB, free: 12.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.6326, allocations: 0.5471 MB / 0.5916 GB, free: 12.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.6327, allocations: 116 kB / 0.5917 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.6328, allocations: 7.75 kB / 0.5917 GB, free: 11.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6329, allocations: 332.3 kB / 0.592 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.6334, allocations: 249.7 kB / 0.5922 GB, free: 11.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.634, allocations: 0.5556 MB / 0.5928 GB, free: 10.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.6345, allocations: 331.6 kB / 0.5931 GB, free: 10.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.6345, allocations: 4 kB / 0.5931 GB, free: 10.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001469/0.636, allocations: 0.9118 MB / 0.594 GB, free: 9.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.636, allocations: 8 kB / 0.594 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.6361, allocations: 16.16 kB / 0.594 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/0.6361, allocations: 19.98 kB / 0.594 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.6368, allocations: 167.5 kB / 0.5942 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.6368, allocations: 19.94 kB / 0.5942 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/0.6376, allocations: 169.2 kB / 0.5944 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.6377, allocations: 49.92 kB / 0.5944 GB, free: 9.203 MB / 410.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.0001946/0.6379, allocations: 165.7 kB / 0.5946 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.6382, allocations: 118.5 kB / 0.5947 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.6396, allocations: 0.7435 MB / 0.5954 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.6396, allocations: 4 kB / 0.5954 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6396, allocations: 7.938 kB / 0.5954 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6396, allocations: 3.984 kB / 0.5954 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6408, allocations: 0.7193 MB / 0.5961 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6408, allocations: 0 / 0.5961 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.6413, allocations: 113.6 kB / 0.5962 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.6413, allocations: 4 kB / 0.5962 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.6414, allocations: 24.42 kB / 0.5963 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.6414, allocations: 7.938 kB / 0.5963 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6414, allocations: 0 / 0.5963 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6426, allocations: 1.121 MB / 0.5974 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.6429, allocations: 193.2 kB / 0.5976 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.643, allocations: 6.812 kB / 0.5976 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.6436, allocations: 53.45 kB / 0.5976 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6438, allocations: 37.64 kB / 0.5976 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.6438, allocations: 17.48 kB / 0.5977 GB, free: 6.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001127/0.645, allocations: 0.9081 MB / 0.5986 GB, free: 5.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.645, allocations: 0 / 0.5986 GB, free: 5.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001214/0.6462, allocations: 311.8 kB / 0.5988 GB, free: 4.832 MB / 410.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.0006172/0.6468, allocations: 312.7 kB / 0.5991 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.6479, allocations: 0.5786 MB / 0.5997 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6479, allocations: 5.875 kB / 0.5997 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.6483, allocations: 247.7 kB / 0.6 GB, free: 3.699 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6494, allocations: 244.9 kB / 0.6002 GB, free: 3.457 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.6519, allocations: 1.467 MB / 0.6016 GB, free: 1.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.6526, allocations: 1.184 MB / 0.6028 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008739/0.6535, allocations: 394.6 kB / 0.6032 GB, free: 348 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.6537, allocations: 83.41 kB / 0.6032 GB, free: 264 kB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6538, allocations: 0 / 0.6032 GB, free: 264 kB / 410.7 MB Notification: Performance of Templates: time 0.028/0.6818, allocations: 15.74 MB / 0.6186 GB, free: 0.5938 MB / 426.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)