Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 99.5 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1941/0.1941, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.618e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.5487, allocations: 106.9 MB / 0.5991 GB, free: 5.555 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5491, allocations: 91.94 kB / 0.5992 GB, free: 5.465 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4393:11-4407: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 4.0.0+maint.om/Fluid/Dissipation.mo:4369:11-4383: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 4.0.0+maint.om/Fluid/Dissipation.mo:4418:11-4432: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.1006/0.6497, allocations: 38.64 MB / 0.637 GB, free: 14.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6498, allocations: 0 / 0.637 GB, free: 14.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.037e-05/0.6498, allocations: 16 kB / 0.637 GB, free: 14.36 MB / 458.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.001677/0.6515, allocations: 1.184 MB / 0.6381 GB, free: 13.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.6515, allocations: 11.98 kB / 0.6381 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.6517, allocations: 126.4 kB / 0.6383 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.6524, allocations: 494.2 kB / 0.6387 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.6524, allocations: 36 kB / 0.6388 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.6525, allocations: 56 kB / 0.6388 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001432/0.6539, allocations: 1.156 MB / 0.6399 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.6555, allocations: 1.157 MB / 0.6411 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.6556, allocations: 0 / 0.6411 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.6556, allocations: 0 / 0.6411 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.6557, allocations: 62.09 kB / 0.6411 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.6592, allocations: 2.672 MB / 0.6437 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008528/0.6601, allocations: 0.6441 MB / 0.6444 GB, free: 6.516 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.6604, allocations: 229.3 kB / 0.6446 GB, free: 6.273 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.6604, allocations: 20.16 kB / 0.6446 GB, free: 6.254 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6605, allocations: 42.8 kB / 0.6447 GB, free: 6.203 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.6605, allocations: 0 / 0.6447 GB, free: 6.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.000955/0.6615, allocations: 0.5118 MB / 0.6452 GB, free: 5.688 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.6615, allocations: 187.9 kB / 0.6453 GB, free: 5.461 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.6621, allocations: 0.5542 MB / 0.6459 GB, free: 4.898 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.6622, allocations: 25.7 kB / 0.6459 GB, free: 4.867 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.6625, allocations: 0.5759 MB / 0.6465 GB, free: 4.281 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.6626, allocations: 110.5 kB / 0.6466 GB, free: 4.172 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.6627, allocations: 0 / 0.6466 GB, free: 4.172 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6628, allocations: 382.8 kB / 0.6469 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.6632, allocations: 233.3 kB / 0.6472 GB, free: 3.562 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.6638, allocations: 0.5503 MB / 0.6477 GB, free: 2.855 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.6642, allocations: 315.8 kB / 0.648 GB, free: 2.547 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6642, allocations: 4 kB / 0.648 GB, free: 2.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001203/0.6654, allocations: 0.7978 MB / 0.6488 GB, free: 1.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.6655, allocations: 12 kB / 0.6488 GB, free: 1.727 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.6655, allocations: 15.95 kB / 0.6488 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.6655, allocations: 20.06 kB / 0.6488 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.6662, allocations: 167.7 kB / 0.649 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.6662, allocations: 23.92 kB / 0.649 GB, free: 1.504 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/0.6669, allocations: 83.48 kB / 0.6491 GB, free: 1.422 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.6669, allocations: 43.98 kB / 0.6491 GB, free: 1.379 MB / 458.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.0001732/0.6671, allocations: 161.1 kB / 0.6493 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009313/0.6681, allocations: 0.5119 MB / 0.6498 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6682, allocations: 71.11 kB / 0.6498 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.6694, allocations: 0.6841 MB / 0.6505 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6695, allocations: 4 kB / 0.6505 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6695, allocations: 4 kB / 0.6505 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6695, allocations: 0 / 0.6505 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.6706, allocations: 0.646 MB / 0.6512 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6706, allocations: 0 / 0.6512 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.671, allocations: 115.9 kB / 0.6513 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.6711, allocations: 8 kB / 0.6513 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.6711, allocations: 15.94 kB / 0.6513 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6711, allocations: 4 kB / 0.6513 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6711, allocations: 8 kB / 0.6513 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.6721, allocations: 1.043 MB / 0.6523 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.6723, allocations: 132.2 kB / 0.6524 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.6724, allocations: 4 kB / 0.6524 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.6729, allocations: 43.95 kB / 0.6525 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/0.673, allocations: 39.91 kB / 0.6525 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.6731, allocations: 23.98 kB / 0.6525 GB, free: 13.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004167/0.6735, allocations: 411.1 kB / 0.6529 GB, free: 13.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6735, allocations: 0 / 0.6529 GB, free: 13.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001246/0.6747, allocations: 354.7 kB / 0.6533 GB, free: 12.99 MB / 474.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.001802/0.6766, allocations: 2.131 MB / 0.6554 GB, free: 10.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000874/0.6774, allocations: 0.5447 MB / 0.6559 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6775, allocations: 0 / 0.6559 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.6778, allocations: 236.7 kB / 0.6561 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.6786, allocations: 123.4 kB / 0.6562 GB, free: 9.918 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.6816, allocations: 1.602 MB / 0.6578 GB, free: 8.258 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/0.6823, allocations: 1.186 MB / 0.659 GB, free: 7.043 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007135/0.6831, allocations: 303.4 kB / 0.6592 GB, free: 6.742 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.6835, allocations: 371.3 kB / 0.6596 GB, free: 6.379 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6835, allocations: 0 / 0.6596 GB, free: 6.379 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.7232, allocations: 16.4 MB / 0.6756 GB, free: 6.051 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.7234, allocations: 197.9 kB / 0.6758 GB, free: 5.852 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.991, allocations: 0 / 0.6758 GB, free: 5.852 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat