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.0009774/0.0009774, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008942/0.0008941, allocations: 95.48 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1893/0.1893, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.142e-05, allocations: 224 / 451.9 MB, free: 9.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.595, allocations: 107.5 MB / 0.6068 GB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.5953, allocations: 99.92 kB / 0.6069 GB, free: 13.58 MB / 426.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.1036/0.6989, allocations: 39.07 MB / 0.6451 GB, free: 6.055 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.699, allocations: 0 / 0.6451 GB, free: 6.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.398e-05/0.699, allocations: 19.94 kB / 0.6451 GB, free: 6.035 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.001985/0.701, allocations: 1.194 MB / 0.6462 GB, free: 4.793 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.7011, allocations: 12.03 kB / 0.6463 GB, free: 4.781 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.7013, allocations: 160.9 kB / 0.6464 GB, free: 4.613 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.7014, allocations: 126.4 kB / 0.6465 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.7022, allocations: 494.2 kB / 0.647 GB, free: 3.961 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.7023, allocations: 74 kB / 0.6471 GB, free: 3.891 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.7024, allocations: 92 kB / 0.6472 GB, free: 3.801 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.7045, allocations: 1.302 MB / 0.6484 GB, free: 2.461 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.7045, allocations: 0 / 0.6484 GB, free: 2.461 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.7046, allocations: 40 kB / 0.6485 GB, free: 2.422 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.069e-05/0.7047, allocations: 58.09 kB / 0.6485 GB, free: 2.363 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.7064, allocations: 1.25 MB / 0.6497 GB, free: 1.105 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00412/0.7106, allocations: 3.094 MB / 0.6528 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/0.7116, allocations: 0.6639 MB / 0.6534 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.7119, allocations: 237.4 kB / 0.6536 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/0.712, allocations: 12.22 kB / 0.6537 GB, free: 12.94 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.712, allocations: 38.8 kB / 0.6537 GB, free: 12.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.712, allocations: 0 / 0.6537 GB, free: 12.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001098/0.7131, allocations: 0.5812 MB / 0.6543 GB, free: 12.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.7132, allocations: 187.9 kB / 0.6544 GB, free: 12.08 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.7146, allocations: 1.173 MB / 0.6556 GB, free: 10.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.7146, allocations: 29.7 kB / 0.6556 GB, free: 10.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.715, allocations: 0.5433 MB / 0.6561 GB, free: 10.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.7152, allocations: 117.1 kB / 0.6563 GB, free: 10.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.7152, allocations: 15.94 kB / 0.6563 GB, free: 10.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7153, allocations: 338.1 kB / 0.6566 GB, free: 9.844 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.7157, allocations: 245.4 kB / 0.6568 GB, free: 9.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.7163, allocations: 0.5518 MB / 0.6574 GB, free: 8.898 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.7168, allocations: 343.7 kB / 0.6577 GB, free: 8.562 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7168, allocations: 4 kB / 0.6577 GB, free: 8.559 MB / 474.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001395/0.7182, allocations: 0.9138 MB / 0.6586 GB, free: 7.637 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.7183, allocations: 9.094 kB / 0.6586 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.7183, allocations: 12 kB / 0.6586 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.7183, allocations: 16 kB / 0.6586 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.719, allocations: 176.1 kB / 0.6588 GB, free: 7.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.719, allocations: 19.94 kB / 0.6588 GB, free: 7.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/0.7198, allocations: 166.5 kB / 0.659 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.7199, allocations: 43.98 kB / 0.659 GB, free: 7.203 MB / 474.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.0001787/0.72, allocations: 170.9 kB / 0.6592 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.7203, allocations: 122.5 kB / 0.6593 GB, free: 6.906 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.7216, allocations: 0.743 MB / 0.66 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.7216, allocations: 4 kB / 0.66 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7216, allocations: 4 kB / 0.66 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7216, allocations: 0 / 0.66 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.7228, allocations: 0.7218 MB / 0.6607 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7228, allocations: 0 / 0.6607 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.7233, allocations: 115.8 kB / 0.6608 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.7233, allocations: 4 kB / 0.6608 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.7233, allocations: 27.94 kB / 0.6609 GB, free: 5.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.7233, allocations: 4 kB / 0.6609 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7233, allocations: 0 / 0.6609 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.7245, allocations: 1.113 MB / 0.662 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.7248, allocations: 199.5 kB / 0.6622 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.7249, allocations: 8 kB / 0.6622 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.7255, allocations: 51.95 kB / 0.6622 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.7257, allocations: 39.91 kB / 0.6622 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.7257, allocations: 19.98 kB / 0.6623 GB, free: 3.707 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.7268, allocations: 0.9019 MB / 0.6631 GB, free: 2.801 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7268, allocations: 3.938 kB / 0.6632 GB, free: 2.797 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001152/0.728, allocations: 331.7 kB / 0.6635 GB, free: 2.473 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.001996/0.73, allocations: 2.19 MB / 0.6656 GB, free: 244 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009648/0.731, allocations: 0.5756 MB / 0.6662 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.731, allocations: 0 / 0.6662 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.7314, allocations: 247.7 kB / 0.6664 GB, free: 15.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.7325, allocations: 249.8 kB / 0.6666 GB, free: 15.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.7355, allocations: 1.761 MB / 0.6684 GB, free: 13.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.7362, allocations: 1.176 MB / 0.6695 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000847/0.7371, allocations: 406.6 kB / 0.6699 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.7376, allocations: 395.3 kB / 0.6703 GB, free: 11.36 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7376, allocations: 0 / 0.6703 GB, free: 11.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/0.7829, allocations: 25.85 MB / 0.6955 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.7832, allocations: 203.7 kB / 0.6957 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/3.595, allocations: 1.719 kB / 0.6957 GB, free: 1.566 MB / 0.4948 GB (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