Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001169/0.001169, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.2 MB / 245 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008828/0.0008828, allocations: 101.8 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.398/0.398, allocations: 45.24 MB / 394.7 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003062, allocations: 4 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3703, allocations: 63.24 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5153, allocations: 108.6 MB / 0.6254 GB, free: 10.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.5157, allocations: 111.8 kB / 0.6255 GB, free: 10.65 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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.1015/0.6173, allocations: 39.07 MB / 0.6637 GB, free: 3.094 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6174, allocations: 3.938 kB / 0.6637 GB, free: 3.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.85e-05/0.6174, allocations: 20 kB / 0.6637 GB, free: 3.07 MB / 474.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.002115/0.6195, allocations: 1.289 MB / 0.6649 GB, free: 1.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.6196, allocations: 8.031 kB / 0.6649 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.6198, allocations: 172.8 kB / 0.6651 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007106/0.6205, allocations: 214.3 kB / 0.6653 GB, free: 1.328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/0.6213, allocations: 494.2 kB / 0.6658 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.6214, allocations: 74 kB / 0.6659 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.6215, allocations: 88 kB / 0.6659 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.6236, allocations: 1.388 MB / 0.6673 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.6236, allocations: 4 kB / 0.6673 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.6237, allocations: 43.95 kB / 0.6673 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/0.6238, allocations: 62.08 kB / 0.6674 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.626, allocations: 1.413 MB / 0.6688 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.6305, allocations: 3.094 MB / 0.6718 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.6319, allocations: 0.7459 MB / 0.6725 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.632, allocations: 16.16 kB / 0.6725 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.632, allocations: 46.69 kB / 0.6726 GB, free: 9.637 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.632, allocations: 0 / 0.6726 GB, free: 9.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.00235/0.6344, allocations: 1.003 MB / 0.6736 GB, free: 8.629 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.6345, allocations: 183.9 kB / 0.6737 GB, free: 8.406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.636, allocations: 1.194 MB / 0.6749 GB, free: 7.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.636, allocations: 33.7 kB / 0.6749 GB, free: 7.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.6365, allocations: 0.5356 MB / 0.6755 GB, free: 6.621 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.6366, allocations: 106.5 kB / 0.6756 GB, free: 6.516 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.6367, allocations: 19.94 kB / 0.6756 GB, free: 6.496 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6368, allocations: 333.9 kB / 0.6759 GB, free: 6.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.6375, allocations: 329 kB / 0.6762 GB, free: 5.844 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009866/0.6385, allocations: 0.6481 MB / 0.6768 GB, free: 5.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.6394, allocations: 408.7 kB / 0.6772 GB, free: 4.641 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.6394, allocations: 4 kB / 0.6772 GB, free: 4.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002396/0.6418, allocations: 1.087 MB / 0.6783 GB, free: 3.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.6419, allocations: 12 kB / 0.6783 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.6419, allocations: 12 kB / 0.6783 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/0.6419, allocations: 16 kB / 0.6783 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.6426, allocations: 171.8 kB / 0.6785 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.6426, allocations: 27.86 kB / 0.6785 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008727/0.6435, allocations: 166.5 kB / 0.6787 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.6436, allocations: 40 kB / 0.6787 GB, free: 3.105 MB / 490.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.000556/0.6441, allocations: 375.5 kB / 0.6791 GB, free: 2.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.6444, allocations: 114.5 kB / 0.6792 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.6459, allocations: 0.7779 MB / 0.68 GB, free: 1.828 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.6459, allocations: 4 kB / 0.68 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.646, allocations: 0 / 0.68 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.646, allocations: 7.984 kB / 0.68 GB, free: 1.816 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.6473, allocations: 0.7139 MB / 0.6807 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6473, allocations: 4 kB / 0.6807 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.6478, allocations: 119.8 kB / 0.6808 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6478, allocations: 0 / 0.6808 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.6479, allocations: 16 kB / 0.6808 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.6479, allocations: 7.984 kB / 0.6808 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/0.6479, allocations: 3.938 kB / 0.6808 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2751/0.923, allocations: 1.262 MB / 0.682 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.9235, allocations: 203.6 kB / 0.6822 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.9236, allocations: 7.688 kB / 0.6822 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006965/0.9243, allocations: 50.89 kB / 0.6823 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.9245, allocations: 43.19 kB / 0.6823 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.9245, allocations: 20.14 kB / 0.6824 GB, free: 124.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001489/0.926, allocations: 0.9216 MB / 0.6833 GB, free: 124.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.926, allocations: 3.188 kB / 0.6833 GB, free: 124.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001444/0.9275, allocations: 333 kB / 0.6836 GB, free: 124.4 MB / 490.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.002532/0.93, allocations: 2.372 MB / 0.6859 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.9315, allocations: 0.7381 MB / 0.6866 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.9315, allocations: 3.312 kB / 0.6866 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.9321, allocations: 332.4 kB / 0.6869 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.9332, allocations: 243.8 kB / 0.6872 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.9443, allocations: 15.19 MB / 0.702 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.9449, allocations: 1.181 MB / 0.7031 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009728/0.9459, allocations: 401.2 kB / 0.7035 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.9464, allocations: 394.2 kB / 0.7039 GB, free: 112 MB / 490.7 MB Notification: Performance of SimCode: time 2.344e-06/0.9464, allocations: 0 / 0.7039 GB, free: 112 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05145/0.9979, allocations: 26.16 MB / 0.7295 GB, free: 108.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.9981, allocations: 230.2 kB / 0.7297 GB, free: 108.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.778, allocations: 2.344 kB / 0.7297 GB, free: 108.3 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat