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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.001797/0.001797, allocations: 180.7 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.435/1.435, allocations: 221.4 MB / 236 MB, free: 2.945 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.0008529/0.0008528, allocations: 92.03 kB / 287 MB, free: 256 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.1898/0.1898, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.038e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.529, allocations: 99.59 MB / 0.5991 GB, free: 5.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5293, allocations: 101 kB / 0.5992 GB, free: 5.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06653/0.5959, allocations: 24.05 MB / 0.6227 GB, free: 13.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5959, allocations: 0 / 0.6227 GB, free: 13.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.596, allocations: 4 kB / 0.6227 GB, free: 13.3 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001304/0.5973, allocations: 0.6856 MB / 0.6233 GB, free: 12.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5973, allocations: 12.03 kB / 0.6233 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.5975, allocations: 110.5 kB / 0.6234 GB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.5976, allocations: 55.34 kB / 0.6235 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.5981, allocations: 312.3 kB / 0.6238 GB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.5982, allocations: 53.25 kB / 0.6239 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.5982, allocations: 55.98 kB / 0.6239 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.5993, allocations: 0.7091 MB / 0.6246 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5994, allocations: 0 / 0.6246 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/0.5994, allocations: 24 kB / 0.6246 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.5995, allocations: 45.28 kB / 0.6247 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.6005, allocations: 0.7625 MB / 0.6254 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.603, allocations: 1.524 MB / 0.6269 GB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.6037, allocations: 429.7 kB / 0.6273 GB, free: 8.379 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.604, allocations: 153.1 kB / 0.6275 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.604, allocations: 12.16 kB / 0.6275 GB, free: 8.215 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.6041, allocations: 34.8 kB / 0.6275 GB, free: 8.172 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/0.6041, allocations: 4 kB / 0.6275 GB, free: 8.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007511/0.6049, allocations: 381.9 kB / 0.6279 GB, free: 7.789 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.6049, allocations: 59.39 kB / 0.6279 GB, free: 7.719 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.6055, allocations: 0.5112 MB / 0.6284 GB, free: 7.199 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.6056, allocations: 29.7 kB / 0.6284 GB, free: 7.164 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.6058, allocations: 279.5 kB / 0.6287 GB, free: 6.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.6059, allocations: 98.64 kB / 0.6288 GB, free: 6.785 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.6059, allocations: 8 kB / 0.6288 GB, free: 6.777 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.6061, allocations: 370.7 kB / 0.6292 GB, free: 6.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.6064, allocations: 177 kB / 0.6293 GB, free: 6.227 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.6068, allocations: 408.9 kB / 0.6297 GB, free: 5.715 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.6073, allocations: 259.6 kB / 0.63 GB, free: 5.461 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6073, allocations: 0 / 0.63 GB, free: 5.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001117/0.6084, allocations: 0.6379 MB / 0.6306 GB, free: 4.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.6084, allocations: 9.094 kB / 0.6306 GB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.6085, allocations: 8 kB / 0.6306 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.6085, allocations: 16.03 kB / 0.6306 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.6097, allocations: 247.6 kB / 0.6309 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/0.6145, allocations: 7.306 MB / 0.638 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.6151, allocations: 83.33 kB / 0.6381 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.6152, allocations: 39.92 kB / 0.6381 GB, free: 12.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.6154, allocations: 160.1 kB / 0.6383 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.6155, allocations: 47.42 kB / 0.6383 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.6165, allocations: 0.5251 MB / 0.6388 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.6165, allocations: 7.984 kB / 0.6388 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6166, allocations: 0 / 0.6388 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6166, allocations: 0 / 0.6388 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.6171, allocations: 433.2 kB / 0.6393 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6171, allocations: 4 kB / 0.6393 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/0.6181, allocations: 203.8 kB / 0.6394 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6181, allocations: 0 / 0.6394 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.6181, allocations: 15.98 kB / 0.6395 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/0.6224, allocations: 7.298 MB / 0.6466 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6224, allocations: 0 / 0.6466 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.6231, allocations: 483.2 kB / 0.6471 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.6233, allocations: 128.5 kB / 0.6472 GB, free: 3.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.6234, allocations: 4 kB / 0.6472 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.6236, allocations: 20.08 kB / 0.6472 GB, free: 3.156 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.6237, allocations: 23.97 kB / 0.6472 GB, free: 3.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.6238, allocations: 11.98 kB / 0.6472 GB, free: 3.121 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005037/0.6243, allocations: 405.5 kB / 0.6476 GB, free: 2.727 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6243, allocations: 0 / 0.6476 GB, free: 2.727 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008678/0.6251, allocations: 199.7 kB / 0.6478 GB, free: 2.531 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.6265, allocations: 1.183 MB / 0.649 GB, free: 1.328 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.628, allocations: 0.5405 MB / 0.6495 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.628, allocations: 0 / 0.6495 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009549/0.629, allocations: 287.6 kB / 0.6498 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.6295, allocations: 110 kB / 0.6499 GB, free: 404 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.6312, allocations: 0.8932 MB / 0.6507 GB, free: 15.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.6317, allocations: 0.9209 MB / 0.6516 GB, free: 14.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003792/0.6321, allocations: 160.5 kB / 0.6518 GB, free: 14.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.6323, allocations: 147.4 kB / 0.6519 GB, free: 14.21 MB / 474.7 MB Notification: Performance of SimCode: time 4.6e-07/0.6323, allocations: 0 / 0.6519 GB, free: 14.21 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.6636, allocations: 15.34 MB / 0.6669 GB, free: 15.14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.6639, allocations: 225 kB / 0.6671 GB, free: 14.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.105, allocations: 4 kB / 0.6671 GB, free: 14.91 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat