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.001726/0.001726, allocations: 199.7 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 96 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1934/0.1934, allocations: 45.16 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.57e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5084, allocations: 107.9 MB / 0.6099 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5087, allocations: 100.1 kB / 0.6099 GB, free: 10.3 MB / 410.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.09989/0.6086, allocations: 38.7 MB / 0.6477 GB, free: 9.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6087, allocations: 0 / 0.6477 GB, free: 9.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.983e-05/0.6087, allocations: 16 kB / 0.6478 GB, free: 9.84 MB / 442.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.002468/0.6112, allocations: 1.197 MB / 0.6489 GB, free: 8.668 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6113, allocations: 8.031 kB / 0.6489 GB, free: 8.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/0.6122, allocations: 214.3 kB / 0.6491 GB, free: 8.449 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.613, allocations: 490 kB / 0.6496 GB, free: 7.953 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.6131, allocations: 28 kB / 0.6496 GB, free: 7.926 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.6132, allocations: 56 kB / 0.6497 GB, free: 7.871 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/0.6147, allocations: 1.163 MB / 0.6508 GB, free: 7.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.6163, allocations: 1.151 MB / 0.6519 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.6164, allocations: 4 kB / 0.6519 GB, free: 6.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.6164, allocations: 3.953 kB / 0.6519 GB, free: 6.176 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.657e-05/0.6165, allocations: 65.83 kB / 0.652 GB, free: 6.113 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.6205, allocations: 2.671 MB / 0.6546 GB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.6213, allocations: 0.6397 MB / 0.6552 GB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.6216, allocations: 221.1 kB / 0.6555 GB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.6217, allocations: 15.28 kB / 0.6555 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.6217, allocations: 46.22 kB / 0.6555 GB, free: 2.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.6217, allocations: 0 / 0.6555 GB, free: 2.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009322/0.6227, allocations: 0.5091 MB / 0.656 GB, free: 2.375 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.6228, allocations: 196 kB / 0.6562 GB, free: 2.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/0.6234, allocations: 0.5528 MB / 0.6567 GB, free: 1.688 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.6234, allocations: 25.7 kB / 0.6568 GB, free: 1.656 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.6237, allocations: 0.5837 MB / 0.6573 GB, free: 1.207 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.6238, allocations: 108.6 kB / 0.6574 GB, free: 1.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.6239, allocations: 0 / 0.6574 GB, free: 1.113 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.624, allocations: 382.1 kB / 0.6578 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.6244, allocations: 236.3 kB / 0.658 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.6249, allocations: 0.5446 MB / 0.6586 GB, free: 15.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.6253, allocations: 323 kB / 0.6589 GB, free: 15.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6254, allocations: 4 kB / 0.6589 GB, free: 15.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00117/0.6265, allocations: 0.7885 MB / 0.6596 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6266, allocations: 8 kB / 0.6596 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.6266, allocations: 12 kB / 0.6597 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.6266, allocations: 16 kB / 0.6597 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.6272, allocations: 178.7 kB / 0.6598 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.6273, allocations: 19.94 kB / 0.6599 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.6279, allocations: 87.48 kB / 0.6599 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.628, allocations: 43.42 kB / 0.66 GB, free: 14.56 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.0001894/0.6282, allocations: 158.1 kB / 0.6601 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000858/0.629, allocations: 0.5171 MB / 0.6606 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.6292, allocations: 71.3 kB / 0.6607 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.6303, allocations: 0.6788 MB / 0.6614 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6304, allocations: 4 kB / 0.6614 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6304, allocations: 4 kB / 0.6614 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6304, allocations: 0 / 0.6614 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.6315, allocations: 0.6469 MB / 0.662 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6315, allocations: 0 / 0.662 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/0.632, allocations: 119.2 kB / 0.6621 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.632, allocations: 4 kB / 0.6621 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.6321, allocations: 15.98 kB / 0.6621 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.6321, allocations: 0 / 0.6621 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.6321, allocations: 4 kB / 0.6622 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009545/0.633, allocations: 1.04 MB / 0.6632 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.6332, allocations: 145.3 kB / 0.6633 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.6333, allocations: 4 kB / 0.6633 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.6338, allocations: 49.33 kB / 0.6634 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.6339, allocations: 36.27 kB / 0.6634 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.634, allocations: 25.67 kB / 0.6634 GB, free: 11.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004102/0.6344, allocations: 420.2 kB / 0.6638 GB, free: 10.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6344, allocations: 0 / 0.6638 GB, free: 10.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00133/0.6357, allocations: 368.7 kB / 0.6642 GB, free: 10.52 MB / 458.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.001876/0.6376, allocations: 2.14 MB / 0.6663 GB, free: 8.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008664/0.6385, allocations: 0.549 MB / 0.6668 GB, free: 7.906 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6385, allocations: 4 kB / 0.6668 GB, free: 7.902 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.6389, allocations: 238.7 kB / 0.667 GB, free: 7.699 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.6396, allocations: 116 kB / 0.6671 GB, free: 7.613 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.6427, allocations: 1.608 MB / 0.6687 GB, free: 5.996 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.6434, allocations: 1.182 MB / 0.6699 GB, free: 4.785 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007173/0.6441, allocations: 311.3 kB / 0.6702 GB, free: 4.477 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.6446, allocations: 367.3 kB / 0.6705 GB, free: 4.117 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6446, allocations: 0 / 0.6705 GB, free: 4.117 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/0.6905, allocations: 16.52 MB / 0.6866 GB, free: 3.703 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.6909, allocations: 197.3 kB / 0.6868 GB, free: 3.512 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.21, allocations: 0 / 0.6868 GB, free: 3.512 MB / 474.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