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.001266/0.001266, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.482/1.482, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009051/0.0009052, allocations: 98.78 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1978/0.1978, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 16 kB / 431.5 MB, free: 19.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 58.85 MB / 490.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.5293, allocations: 98.56 MB / 0.5751 GB, free: 1.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5297, allocations: 101.5 kB / 0.5752 GB, free: 1.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06336/0.5931, allocations: 23.54 MB / 0.5982 GB, free: 12.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5931, allocations: 0 / 0.5982 GB, free: 12.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.5931, allocations: 8 kB / 0.5982 GB, free: 12.89 MB / 410.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.001592/0.5947, allocations: 0.7122 MB / 0.5989 GB, free: 12.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.5948, allocations: 12.02 kB / 0.5989 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.595, allocations: 101.9 kB / 0.599 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.5952, allocations: 55.34 kB / 0.5991 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.5959, allocations: 315.2 kB / 0.5994 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.5959, allocations: 36.81 kB / 0.5994 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/0.596, allocations: 62.55 kB / 0.5995 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.5974, allocations: 0.7373 MB / 0.6002 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5974, allocations: 0 / 0.6002 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.5974, allocations: 21.25 kB / 0.6002 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/0.5975, allocations: 41.3 kB / 0.6002 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.5988, allocations: 0.8143 MB / 0.601 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.6016, allocations: 1.533 MB / 0.6025 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/0.6023, allocations: 450.8 kB / 0.603 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.6024, allocations: 12.22 kB / 0.603 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.6025, allocations: 38.11 kB / 0.603 GB, free: 8.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/0.6025, allocations: 0 / 0.603 GB, free: 8.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001288/0.6038, allocations: 0.55 MB / 0.6035 GB, free: 8.098 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.6039, allocations: 55.41 kB / 0.6036 GB, free: 8.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.6046, allocations: 0.5191 MB / 0.6041 GB, free: 7.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.6046, allocations: 28.58 kB / 0.6041 GB, free: 7.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.6049, allocations: 276.4 kB / 0.6044 GB, free: 7.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.605, allocations: 109.7 kB / 0.6045 GB, free: 7.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.605, allocations: 11.19 kB / 0.6045 GB, free: 7.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6052, allocations: 367.6 kB / 0.6049 GB, free: 6.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.6056, allocations: 184.8 kB / 0.605 GB, free: 6.754 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.6062, allocations: 447.6 kB / 0.6055 GB, free: 6.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.6066, allocations: 266.3 kB / 0.6057 GB, free: 6.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.6067, allocations: 4 kB / 0.6057 GB, free: 6.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001242/0.6079, allocations: 0.683 MB / 0.6064 GB, free: 5.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.6079, allocations: 12 kB / 0.6064 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.608, allocations: 8 kB / 0.6064 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-05/0.608, allocations: 12 kB / 0.6064 GB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.6092, allocations: 242.9 kB / 0.6067 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004782/0.614, allocations: 7.317 MB / 0.6138 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.6146, allocations: 77.92 kB / 0.6139 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.6146, allocations: 35.61 kB / 0.6139 GB, free: 13.55 MB / 426.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 () * Number of clocked 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.0004865/0.6151, allocations: 264.3 kB / 0.6142 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.6153, allocations: 43.44 kB / 0.6142 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.6165, allocations: 0.5568 MB / 0.6147 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.6166, allocations: 11.95 kB / 0.6148 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6166, allocations: 0 / 0.6148 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6166, allocations: 3.984 kB / 0.6148 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007724/0.6174, allocations: 424.9 kB / 0.6152 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.6174, allocations: 0 / 0.6152 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009227/0.6183, allocations: 211.7 kB / 0.6154 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.6183, allocations: 0 / 0.6154 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.6184, allocations: 15.98 kB / 0.6154 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/0.623, allocations: 7.297 MB / 0.6225 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.623, allocations: 0 / 0.6225 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.6238, allocations: 0.5153 MB / 0.623 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.6241, allocations: 124.5 kB / 0.6231 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.6242, allocations: 7.375 kB / 0.6231 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.6245, allocations: 22.73 kB / 0.6232 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.6246, allocations: 27.03 kB / 0.6232 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.6247, allocations: 11.98 kB / 0.6232 GB, free: 3.949 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000534/0.6252, allocations: 404 kB / 0.6236 GB, free: 3.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6252, allocations: 0 / 0.6236 GB, free: 3.633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008954/0.6261, allocations: 193.9 kB / 0.6238 GB, free: 3.461 MB / 426.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 () * Number of clocked 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.001722/0.6278, allocations: 1.213 MB / 0.625 GB, free: 2.277 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.6294, allocations: 0.5742 MB / 0.6255 GB, free: 1.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6294, allocations: 0 / 0.6255 GB, free: 1.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.6304, allocations: 314.1 kB / 0.6258 GB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.631, allocations: 111.6 kB / 0.6259 GB, free: 1.379 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008179/0.6392, allocations: 8.883 MB / 0.6346 GB, free: 8.777 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.6398, allocations: 0.9145 MB / 0.6355 GB, free: 7.848 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.6403, allocations: 164.5 kB / 0.6356 GB, free: 7.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.6405, allocations: 152.1 kB / 0.6358 GB, free: 7.633 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6405, allocations: 0 / 0.6358 GB, free: 7.633 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.6779, allocations: 15.27 MB / 0.6507 GB, free: 8.422 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/0.6782, allocations: 252 kB / 0.6509 GB, free: 8.086 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.212, allocations: 0 / 0.6509 GB, free: 8.086 MB / 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