Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001522/0.001521, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 96.36 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5255/0.5255, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007585/0.0007585, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1449, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5215/0.6665, allocations: 106.4 MB / 0.5828 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/0.667, allocations: 99.92 kB / 0.5828 GB, free: 12.03 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4477:11-4491: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 3.2.3+maint.om/Fluid/Dissipation.mo:4453:11-4467: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 3.2.3+maint.om/Fluid/Dissipation.mo:4502:11-4516: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.1773/0.8443, allocations: 38.24 MB / 0.6202 GB, free: 5.395 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.8443, allocations: 0 / 0.6202 GB, free: 5.395 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.567e-05/0.8444, allocations: 16 kB / 0.6202 GB, free: 5.379 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.003267/0.8477, allocations: 1.289 MB / 0.6215 GB, free: 4.035 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.8478, allocations: 8.031 kB / 0.6215 GB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003507/0.8481, allocations: 168.9 kB / 0.6216 GB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.8484, allocations: 126.4 kB / 0.6218 GB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.8496, allocations: 490.2 kB / 0.6222 GB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/0.8497, allocations: 77.98 kB / 0.6223 GB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.8499, allocations: 95.98 kB / 0.6224 GB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.8537, allocations: 1.381 MB / 0.6237 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.8538, allocations: 11.88 kB / 0.6237 GB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.8539, allocations: 43.98 kB / 0.6238 GB, free: 1.566 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.854, allocations: 62.05 kB / 0.6238 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/0.8581, allocations: 1.417 MB / 0.6252 GB, free: 80 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007741/0.8659, allocations: 3.09 MB / 0.6282 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.8684, allocations: 0.7381 MB / 0.629 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/0.8685, allocations: 12.23 kB / 0.629 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.8686, allocations: 42.69 kB / 0.629 GB, free: 12.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 6.642e-06/0.8686, allocations: 4 kB / 0.629 GB, free: 12.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.004306/0.8729, allocations: 1.005 MB / 0.63 GB, free: 11.03 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.8731, allocations: 187.9 kB / 0.6302 GB, free: 10.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.8756, allocations: 1.187 MB / 0.6313 GB, free: 9.605 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.8758, allocations: 29.7 kB / 0.6314 GB, free: 9.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/0.8763, allocations: 0.5018 MB / 0.6319 GB, free: 9.066 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.8765, allocations: 126.3 kB / 0.632 GB, free: 8.941 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.8766, allocations: 8 kB / 0.632 GB, free: 8.934 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.8768, allocations: 342.8 kB / 0.6323 GB, free: 8.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.8781, allocations: 325 kB / 0.6326 GB, free: 8.273 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.8797, allocations: 0.6403 MB / 0.6333 GB, free: 7.477 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.8813, allocations: 407.5 kB / 0.6336 GB, free: 7.078 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.8813, allocations: 4 kB / 0.6336 GB, free: 7.074 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003616/0.8849, allocations: 0.9981 MB / 0.6346 GB, free: 6.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.885, allocations: 8 kB / 0.6346 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.8851, allocations: 15.94 kB / 0.6346 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/0.8851, allocations: 23.94 kB / 0.6347 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.8863, allocations: 171.8 kB / 0.6348 GB, free: 5.855 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/0.8864, allocations: 19.92 kB / 0.6349 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.8878, allocations: 166.5 kB / 0.635 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.8879, allocations: 43.98 kB / 0.6351 GB, free: 5.629 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 () * 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.0008179/0.8888, allocations: 371.5 kB / 0.6354 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.8891, allocations: 114.5 kB / 0.6355 GB, free: 5.145 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.8917, allocations: 0.7818 MB / 0.6363 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.8917, allocations: 8 kB / 0.6363 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.8918, allocations: 4 kB / 0.6363 GB, free: 4.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.8918, allocations: 0 / 0.6363 GB, free: 4.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.8937, allocations: 0.7216 MB / 0.637 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8937, allocations: 3.938 kB / 0.637 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/0.8947, allocations: 119.8 kB / 0.6371 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.8947, allocations: 4 kB / 0.6371 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.8948, allocations: 19.98 kB / 0.6371 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.8948, allocations: 4 kB / 0.6371 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.8948, allocations: 0 / 0.6371 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.8979, allocations: 1.278 MB / 0.6384 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.8984, allocations: 199.5 kB / 0.6386 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.8986, allocations: 11.95 kB / 0.6386 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.8997, allocations: 47.95 kB / 0.6386 GB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.9, allocations: 35.95 kB / 0.6387 GB, free: 1.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/0.9, allocations: 23.98 kB / 0.6387 GB, free: 1.746 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001968/0.902, allocations: 0.9155 MB / 0.6396 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.902, allocations: 0 / 0.6396 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001792/0.9038, allocations: 311.8 kB / 0.6399 GB, free: 0.5234 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 () * 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.004374/0.9082, allocations: 2.354 MB / 0.6422 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.9114, allocations: 0.7406 MB / 0.6429 GB, free: 13.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.9114, allocations: 0 / 0.6429 GB, free: 13.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.9129, allocations: 332.7 kB / 0.6432 GB, free: 13.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.915, allocations: 248.8 kB / 0.6435 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03645/0.9515, allocations: 15.21 MB / 0.6583 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.9528, allocations: 1.172 MB / 0.6595 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.9539, allocations: 407.3 kB / 0.6598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/0.954, allocations: 0 / 0.6598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.149/4.103, allocations: 21.86 MB / 0.6812 GB, free: 127.4 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat