Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008388/0.000839, allocations: 94.53 kB / 267.1 MB, free: 9.281 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.3649/0.3649, allocations: 43.46 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.241e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 58.86 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.5335, allocations: 98.46 MB / 0.5691 GB, free: 6.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.5339, allocations: 102.7 kB / 0.5692 GB, free: 6.355 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06553/0.5994, allocations: 23.56 MB / 0.5922 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5995, allocations: 0 / 0.5922 GB, free: 14.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.5995, allocations: 8 kB / 0.5922 GB, free: 14.65 MB / 426.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.001216/0.6007, allocations: 0.6971 MB / 0.5929 GB, free: 13.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.6008, allocations: 8.031 kB / 0.5929 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.6009, allocations: 106.5 kB / 0.593 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.601, allocations: 58.78 kB / 0.593 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.6015, allocations: 314.2 kB / 0.5933 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.6015, allocations: 37.31 kB / 0.5934 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.049e-05/0.6016, allocations: 52 kB / 0.5934 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.6028, allocations: 0.7183 MB / 0.5941 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.6028, allocations: 3.938 kB / 0.5941 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.6029, allocations: 23.98 kB / 0.5942 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.6029, allocations: 45.28 kB / 0.5942 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.6041, allocations: 0.7663 MB / 0.5949 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.6064, allocations: 1.524 MB / 0.5964 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.6071, allocations: 437.5 kB / 0.5969 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.6073, allocations: 145.2 kB / 0.597 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.6074, allocations: 8.219 kB / 0.597 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.6074, allocations: 42.67 kB / 0.597 GB, free: 9.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.085e-06/0.6074, allocations: 0 / 0.597 GB, free: 9.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006738/0.6081, allocations: 381.9 kB / 0.5974 GB, free: 9.137 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.6081, allocations: 59.41 kB / 0.5975 GB, free: 9.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.6087, allocations: 0.519 MB / 0.598 GB, free: 8.543 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.6087, allocations: 29.7 kB / 0.598 GB, free: 8.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.6089, allocations: 275.5 kB / 0.5983 GB, free: 8.234 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.609, allocations: 94.64 kB / 0.5984 GB, free: 8.141 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.609, allocations: 12 kB / 0.5984 GB, free: 8.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6091, allocations: 358.8 kB / 0.5987 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.6094, allocations: 169 kB / 0.5989 GB, free: 7.605 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.6098, allocations: 417.2 kB / 0.5993 GB, free: 7.086 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.6102, allocations: 255.6 kB / 0.5995 GB, free: 6.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6102, allocations: 0 / 0.5995 GB, free: 6.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009469/0.6112, allocations: 0.6412 MB / 0.6001 GB, free: 6.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6112, allocations: 8 kB / 0.6001 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6112, allocations: 8 kB / 0.6001 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.6112, allocations: 12 kB / 0.6002 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.6123, allocations: 252.2 kB / 0.6004 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/0.616, allocations: 7.313 MB / 0.6075 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.6165, allocations: 79.2 kB / 0.6076 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.6165, allocations: 36.27 kB / 0.6077 GB, free: 14.21 MB / 442.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.0001798/0.6167, allocations: 163.8 kB / 0.6078 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.6168, allocations: 47.44 kB / 0.6079 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.6178, allocations: 0.529 MB / 0.6084 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6179, allocations: 4 kB / 0.6084 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.6179, allocations: 112 / 0.6084 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6179, allocations: 3.938 kB / 0.6084 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.6184, allocations: 433.2 kB / 0.6088 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6184, allocations: 0 / 0.6088 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009824/0.6194, allocations: 203.8 kB / 0.609 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.6194, allocations: 4 kB / 0.609 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.6195, allocations: 15.98 kB / 0.609 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/0.6232, allocations: 7.294 MB / 0.6161 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6232, allocations: 4.062 kB / 0.6161 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.6238, allocations: 483.8 kB / 0.6166 GB, free: 4.691 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.624, allocations: 128.4 kB / 0.6167 GB, free: 4.547 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.6241, allocations: 11.95 kB / 0.6167 GB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.6243, allocations: 11.98 kB / 0.6167 GB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.6244, allocations: 27.95 kB / 0.6168 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.6245, allocations: 12 kB / 0.6168 GB, free: 4.484 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004759/0.6249, allocations: 405.5 kB / 0.6172 GB, free: 4.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6249, allocations: 0 / 0.6172 GB, free: 4.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008166/0.6258, allocations: 187.7 kB / 0.6173 GB, free: 3.906 MB / 442.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.001284/0.6271, allocations: 1.183 MB / 0.6185 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.6286, allocations: 0.5327 MB / 0.619 GB, free: 2.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6286, allocations: 0 / 0.619 GB, free: 2.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009633/0.6296, allocations: 300.6 kB / 0.6193 GB, free: 1.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.63, allocations: 105.9 kB / 0.6194 GB, free: 1.777 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.6318, allocations: 0.8853 MB / 0.6203 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.6323, allocations: 0.9133 MB / 0.6212 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003824/0.6327, allocations: 164.5 kB / 0.6213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.6329, allocations: 164.5 kB / 0.6215 GB, free: 15.59 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6329, allocations: 0 / 0.6215 GB, free: 15.59 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.6654, allocations: 15.34 MB / 0.6365 GB, free: 332 kB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.6656, allocations: 227.2 kB / 0.6367 GB, free: 96 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.087, allocations: 0 / 0.6367 GB, free: 96 kB / 458.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat