Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002338, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3346/0.3346, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.974e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5177/0.6351, allocations: 106.3 MB / 0.5767 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/0.6355, allocations: 96.25 kB / 0.5768 GB, free: 13.21 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.3+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.3+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.2019/0.8374, allocations: 38.28 MB / 0.6142 GB, free: 12.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.8375, allocations: 0 / 0.6142 GB, free: 12.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.554e-05/0.8376, allocations: 12 kB / 0.6142 GB, free: 12.2 MB / 426.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.003945/0.8415, allocations: 1.185 MB / 0.6154 GB, free: 11.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/0.8416, allocations: 11.97 kB / 0.6154 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005094/0.8421, allocations: 168.6 kB / 0.6155 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.8425, allocations: 130.4 kB / 0.6157 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.8443, allocations: 490 kB / 0.6161 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.8445, allocations: 72.62 kB / 0.6162 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/0.8449, allocations: 96.94 kB / 0.6163 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/0.8492, allocations: 1.295 MB / 0.6176 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/0.8493, allocations: 0 / 0.6176 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.8495, allocations: 47.62 kB / 0.6176 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.8497, allocations: 62.03 kB / 0.6177 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.8541, allocations: 1.24 MB / 0.6189 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.8655, allocations: 3.092 MB / 0.6219 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.8684, allocations: 0.662 MB / 0.6225 GB, free: 4.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009525/0.8694, allocations: 236.1 kB / 0.6228 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.8695, allocations: 16.16 kB / 0.6228 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.282e-05/0.8696, allocations: 49.84 kB / 0.6228 GB, free: 4.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 4.869e-06/0.8697, allocations: 0 / 0.6228 GB, free: 4.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002968/0.8726, allocations: 0.5707 MB / 0.6234 GB, free: 4.113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.8729, allocations: 199.9 kB / 0.6236 GB, free: 3.879 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/0.8765, allocations: 1.167 MB / 0.6247 GB, free: 2.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.8767, allocations: 33.64 kB / 0.6248 GB, free: 2.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/0.8774, allocations: 0.5033 MB / 0.6252 GB, free: 2.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.8777, allocations: 116.2 kB / 0.6254 GB, free: 2.496 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.8778, allocations: 14.81 kB / 0.6254 GB, free: 2.492 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.878, allocations: 339 kB / 0.6257 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.8791, allocations: 240.6 kB / 0.6259 GB, free: 1.961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.8807, allocations: 0.5609 MB / 0.6265 GB, free: 1.293 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.8821, allocations: 328.1 kB / 0.6268 GB, free: 1.008 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/0.8822, allocations: 3.938 kB / 0.6268 GB, free: 1.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003606/0.8858, allocations: 0.8299 MB / 0.6276 GB, free: 272 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.8859, allocations: 15.62 kB / 0.6276 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.886, allocations: 15.94 kB / 0.6276 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.467e-05/0.886, allocations: 20 kB / 0.6276 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.8878, allocations: 170.1 kB / 0.6278 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.981e-05/0.8879, allocations: 23.92 kB / 0.6278 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.8901, allocations: 165.1 kB / 0.628 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.8904, allocations: 43.48 kB / 0.628 GB, free: 15.84 MB / 442.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.0003985/0.8908, allocations: 174.1 kB / 0.6282 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005811/0.8914, allocations: 118.5 kB / 0.6283 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/0.895, allocations: 0.7469 MB / 0.629 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.895, allocations: 4 kB / 0.629 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.8951, allocations: 4 kB / 0.629 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.8951, allocations: 0 / 0.629 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.8984, allocations: 0.7179 MB / 0.6297 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.8985, allocations: 4 kB / 0.6297 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.9, allocations: 119.5 kB / 0.6299 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.062e-05/0.9, allocations: 4 kB / 0.6299 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.9002, allocations: 23.86 kB / 0.6299 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.9002, allocations: 0 / 0.6299 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.9002, allocations: 4 kB / 0.6299 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.9034, allocations: 1.115 MB / 0.631 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008418/0.9043, allocations: 207.4 kB / 0.6312 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006632/0.905, allocations: 3.938 kB / 0.6312 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/0.9072, allocations: 51.45 kB / 0.6312 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/0.9076, allocations: 38.64 kB / 0.6313 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.9078, allocations: 19.98 kB / 0.6313 GB, free: 12.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00306/0.9108, allocations: 0.9001 MB / 0.6322 GB, free: 11.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.9109, allocations: 4 kB / 0.6322 GB, free: 11.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003053/0.914, allocations: 314.5 kB / 0.6325 GB, free: 11.65 MB / 442.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.004856/0.9189, allocations: 2.19 MB / 0.6346 GB, free: 9.434 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.922, allocations: 0.5761 MB / 0.6352 GB, free: 8.859 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.922, allocations: 320 / 0.6352 GB, free: 8.859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.9233, allocations: 256.6 kB / 0.6354 GB, free: 8.609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/0.9269, allocations: 247.4 kB / 0.6357 GB, free: 8.367 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009076/0.936, allocations: 1.797 MB / 0.6374 GB, free: 6.504 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.9379, allocations: 1.168 MB / 0.6385 GB, free: 5.305 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/0.9396, allocations: 411.3 kB / 0.6389 GB, free: 4.906 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9396, allocations: 0 / 0.6389 GB, free: 4.906 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.187/4.127, allocations: 21.35 MB / 0.6598 GB, free: 15.59 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat