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.00104/0.00104, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009582/0.0009582, allocations: 96.64 kB / 292.1 MB, free: 5.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1869/0.1869, allocations: 45.15 MB / 389.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.89e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09833, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4777, allocations: 108.6 MB / 0.6175 GB, free: 1.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.478, allocations: 97.67 kB / 0.6176 GB, free: 1.355 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.0986/0.5766, allocations: 39.14 MB / 0.6558 GB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5766, allocations: 0 / 0.6558 GB, free: 15.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.764e-05/0.5767, allocations: 20 kB / 0.6558 GB, free: 15.53 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.002272/0.579, allocations: 1.188 MB / 0.657 GB, free: 14.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.579, allocations: 15.97 kB / 0.657 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002871/0.5793, allocations: 166.4 kB / 0.6572 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008604/0.5802, allocations: 210.3 kB / 0.6574 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.5811, allocations: 493.3 kB / 0.6578 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.5811, allocations: 68.12 kB / 0.6579 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5812, allocations: 98 kB / 0.658 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.583, allocations: 1.3 MB / 0.6593 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.5831, allocations: 0 / 0.6593 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.5831, allocations: 45.39 kB / 0.6593 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.829e-05/0.5832, allocations: 58.09 kB / 0.6594 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.5848, allocations: 1.242 MB / 0.6606 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.5889, allocations: 3.098 MB / 0.6636 GB, free: 8.832 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/0.5899, allocations: 0.6556 MB / 0.6642 GB, free: 8.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.5902, allocations: 239.6 kB / 0.6645 GB, free: 7.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.5903, allocations: 8.219 kB / 0.6645 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5903, allocations: 42.23 kB / 0.6645 GB, free: 7.902 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.975e-06/0.5903, allocations: 0 / 0.6645 GB, free: 7.902 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001058/0.5914, allocations: 0.5879 MB / 0.6651 GB, free: 7.355 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.5915, allocations: 191.3 kB / 0.6653 GB, free: 7.129 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.5928, allocations: 1.168 MB / 0.6664 GB, free: 6.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.5929, allocations: 28.83 kB / 0.6665 GB, free: 6.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.5933, allocations: 0.5492 MB / 0.667 GB, free: 5.844 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5934, allocations: 117.1 kB / 0.6671 GB, free: 5.742 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.5935, allocations: 14.62 kB / 0.6671 GB, free: 5.738 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5936, allocations: 336.3 kB / 0.6674 GB, free: 5.414 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.594, allocations: 245 kB / 0.6677 GB, free: 5.207 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.5946, allocations: 0.5561 MB / 0.6682 GB, free: 4.551 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.5951, allocations: 327 kB / 0.6685 GB, free: 4.266 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5951, allocations: 4 kB / 0.6685 GB, free: 4.262 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00135/0.5964, allocations: 0.9097 MB / 0.6694 GB, free: 3.441 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.5965, allocations: 12 kB / 0.6694 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5965, allocations: 15.94 kB / 0.6694 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/0.5965, allocations: 16 kB / 0.6695 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.5971, allocations: 183.3 kB / 0.6696 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.5972, allocations: 19.94 kB / 0.6696 GB, free: 3.207 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.5979, allocations: 164.8 kB / 0.6698 GB, free: 3.055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.598, allocations: 46.92 kB / 0.6699 GB, free: 3.016 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.0001743/0.5982, allocations: 164.3 kB / 0.67 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.5984, allocations: 114.5 kB / 0.6701 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.5996, allocations: 0.7566 MB / 0.6709 GB, free: 2.062 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.5997, allocations: 4 kB / 0.6709 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5997, allocations: 8 kB / 0.6709 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5997, allocations: 0 / 0.6709 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6008, allocations: 0.7164 MB / 0.6716 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.6008, allocations: 3.984 kB / 0.6716 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.6012, allocations: 114.5 kB / 0.6717 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.6013, allocations: 4 kB / 0.6717 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.6013, allocations: 23.61 kB / 0.6717 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6013, allocations: 0 / 0.6717 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6013, allocations: 4 kB / 0.6717 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.6024, allocations: 1.111 MB / 0.6728 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.6027, allocations: 200.1 kB / 0.673 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6029, allocations: 10.19 kB / 0.673 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/0.6035, allocations: 51.02 kB / 0.673 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6036, allocations: 38.45 kB / 0.6731 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.6036, allocations: 19.98 kB / 0.6731 GB, free: 15.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001/0.6046, allocations: 0.9123 MB / 0.674 GB, free: 15.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6046, allocations: 0 / 0.674 GB, free: 15.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00119/0.6058, allocations: 331.8 kB / 0.6743 GB, free: 14.76 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.002055/0.6079, allocations: 2.215 MB / 0.6765 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009749/0.6089, allocations: 0.5826 MB / 0.677 GB, free: 11.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6089, allocations: 0 / 0.677 GB, free: 11.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.6093, allocations: 245.2 kB / 0.6773 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6104, allocations: 245 kB / 0.6775 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.6134, allocations: 1.765 MB / 0.6792 GB, free: 9.609 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.6142, allocations: 1.184 MB / 0.6804 GB, free: 8.395 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008539/0.6151, allocations: 406.6 kB / 0.6808 GB, free: 7.992 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.6155, allocations: 391.3 kB / 0.6811 GB, free: 7.609 MB / 474.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6156, allocations: 0 / 0.6811 GB, free: 7.609 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.6587, allocations: 26 MB / 0.7065 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.659, allocations: 206.7 kB / 0.7067 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.241, allocations: 0 / 0.7067 GB, free: 13.72 MB / 0.4948 GB (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