Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00147/0.00147, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001169/0.001169, allocations: 94.84 kB / 270.2 MB, free: 13.36 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.2315/0.2315, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1382, allocations: 58.85 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.58, allocations: 106.4 MB / 0.5828 GB, free: 9.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.5804, allocations: 97.44 kB / 0.5829 GB, free: 9.273 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.1041/0.6844, allocations: 38.23 MB / 0.6202 GB, free: 8.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6845, allocations: 0 / 0.6202 GB, free: 8.312 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.595e-05/0.6845, allocations: 12 kB / 0.6202 GB, free: 8.301 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.002883/0.6874, allocations: 1.298 MB / 0.6215 GB, free: 7.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6875, allocations: 8.031 kB / 0.6215 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003187/0.6878, allocations: 173.3 kB / 0.6217 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.6881, allocations: 126.4 kB / 0.6218 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6891, allocations: 490.3 kB / 0.6222 GB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.6892, allocations: 74.44 kB / 0.6223 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.6893, allocations: 93.75 kB / 0.6224 GB, free: 6.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.6918, allocations: 1.391 MB / 0.6238 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.6919, allocations: 0 / 0.6238 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/0.692, allocations: 37.25 kB / 0.6238 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.6921, allocations: 69.05 kB / 0.6239 GB, free: 5.039 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/0.6949, allocations: 1.424 MB / 0.6253 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/0.7009, allocations: 3.083 MB / 0.6283 GB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.7024, allocations: 0.7511 MB / 0.629 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.7025, allocations: 15.03 kB / 0.629 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.7025, allocations: 38.36 kB / 0.629 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 4.068e-06/0.7025, allocations: 4 kB / 0.6291 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002405/0.7049, allocations: 1.005 MB / 0.63 GB, free: 15.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.705, allocations: 187.4 kB / 0.6302 GB, free: 15.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.7073, allocations: 1.198 MB / 0.6314 GB, free: 14.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.7074, allocations: 28.95 kB / 0.6314 GB, free: 14.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.7079, allocations: 0.5331 MB / 0.6319 GB, free: 14.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.7081, allocations: 119 kB / 0.632 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.7081, allocations: 16.75 kB / 0.6321 GB, free: 13.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7083, allocations: 333 kB / 0.6324 GB, free: 13.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.709, allocations: 325.9 kB / 0.6327 GB, free: 13.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009634/0.7099, allocations: 0.6404 MB / 0.6333 GB, free: 12.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000778/0.7107, allocations: 412.6 kB / 0.6337 GB, free: 12.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.7107, allocations: 4 kB / 0.6337 GB, free: 12.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00207/0.7128, allocations: 1.084 MB / 0.6348 GB, free: 11.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.7129, allocations: 8 kB / 0.6348 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.7129, allocations: 12 kB / 0.6348 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.7129, allocations: 16.28 kB / 0.6348 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.7135, allocations: 179.1 kB / 0.635 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.7136, allocations: 23.88 kB / 0.635 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.7145, allocations: 157.8 kB / 0.6351 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.7145, allocations: 51.28 kB / 0.6352 GB, free: 10.86 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 () * Number of clocked 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.0005618/0.7151, allocations: 375.1 kB / 0.6356 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.7154, allocations: 118.5 kB / 0.6357 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.7168, allocations: 0.7757 MB / 0.6364 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.7168, allocations: 4 kB / 0.6364 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.7168, allocations: 0 / 0.6364 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.7169, allocations: 7.984 kB / 0.6364 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.7182, allocations: 0.7201 MB / 0.6371 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7182, allocations: 4 kB / 0.6371 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.7187, allocations: 111.5 kB / 0.6373 GB, free: 8.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.7187, allocations: 7.938 kB / 0.6373 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.7188, allocations: 15.73 kB / 0.6373 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.7188, allocations: 11.94 kB / 0.6373 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7188, allocations: 4 kB / 0.6373 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.7205, allocations: 1.269 MB / 0.6385 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.7209, allocations: 195.5 kB / 0.6387 GB, free: 7.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.721, allocations: 10.83 kB / 0.6387 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.7216, allocations: 54.52 kB / 0.6388 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.7218, allocations: 43.33 kB / 0.6388 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/0.7218, allocations: 23.92 kB / 0.6388 GB, free: 7.316 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001175/0.723, allocations: 0.9156 MB / 0.6397 GB, free: 6.547 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.723, allocations: 0 / 0.6397 GB, free: 6.547 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001343/0.7244, allocations: 311.8 kB / 0.64 GB, free: 6.242 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 () * Number of clocked 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.002906/0.7273, allocations: 2.358 MB / 0.6423 GB, free: 3.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.7289, allocations: 0.7329 MB / 0.6431 GB, free: 3.102 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.729, allocations: 64 / 0.6431 GB, free: 3.102 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007298/0.7297, allocations: 340.7 kB / 0.6434 GB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.731, allocations: 236.8 kB / 0.6436 GB, free: 2.535 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.746, allocations: 15.17 MB / 0.6584 GB, free: 2.828 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007588/0.7468, allocations: 1.188 MB / 0.6596 GB, free: 1.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001036/0.7479, allocations: 402.6 kB / 0.66 GB, free: 1.215 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.7484, allocations: 391.3 kB / 0.6603 GB, free: 0.832 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7484, allocations: 4 kB / 0.6603 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04981/0.7982, allocations: 26.02 MB / 0.6857 GB, free: 6.832 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.7986, allocations: 236.3 kB / 0.686 GB, free: 6.586 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.625, allocations: 3.906 kB / 0.686 GB, free: 6.582 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat