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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.002353/0.002353, allocations: 181.2 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.563/1.563, 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.0008644/0.0008644, allocations: 98.86 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.3158/0.3158, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1134, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4954/0.6089, allocations: 93.39 MB / 0.5701 GB, free: 6.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/0.6093, allocations: 92.94 kB / 0.5702 GB, free: 6.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0453/0.6546, allocations: 11.79 MB / 0.5817 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.6547, allocations: 0 / 0.5817 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.6547, allocations: 4 kB / 0.5817 GB, free: 12.04 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001386/0.6561, allocations: 0.6218 MB / 0.5823 GB, free: 11.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.6562, allocations: 8.031 kB / 0.5823 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.6563, allocations: 96.64 kB / 0.5824 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.6565, allocations: 43.44 kB / 0.5824 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.657, allocations: 304.8 kB / 0.5827 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.6571, allocations: 34.56 kB / 0.5828 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/0.6572, allocations: 45.48 kB / 0.5828 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.6587, allocations: 0.6429 MB / 0.5834 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6587, allocations: 4 kB / 0.5834 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.6588, allocations: 17.56 kB / 0.5834 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.102e-05/0.6589, allocations: 45.22 kB / 0.5835 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.6605, allocations: 0.7028 MB / 0.5842 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.6636, allocations: 1.385 MB / 0.5855 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.6645, allocations: 448.3 kB / 0.586 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.6646, allocations: 15.91 kB / 0.586 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.6646, allocations: 34.73 kB / 0.586 GB, free: 8.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/0.6646, allocations: 0 / 0.586 GB, free: 8.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.00131/0.6659, allocations: 0.5427 MB / 0.5865 GB, free: 7.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.666, allocations: 51.41 kB / 0.5866 GB, free: 7.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/0.6667, allocations: 451.6 kB / 0.587 GB, free: 7.168 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.6667, allocations: 29.2 kB / 0.587 GB, free: 7.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.6669, allocations: 214.2 kB / 0.5872 GB, free: 6.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.667, allocations: 100.5 kB / 0.5873 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.6671, allocations: 6.734 kB / 0.5873 GB, free: 6.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.6673, allocations: 358 kB / 0.5877 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.6677, allocations: 154.7 kB / 0.5878 GB, free: 6.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.6681, allocations: 250.9 kB / 0.5881 GB, free: 6.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/0.6685, allocations: 199.4 kB / 0.5883 GB, free: 5.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.6686, allocations: 4 kB / 0.5883 GB, free: 5.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001/0.6696, allocations: 496.8 kB / 0.5887 GB, free: 5.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.6696, allocations: 18.59 kB / 0.5888 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6696, allocations: 4 kB / 0.5888 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6697, allocations: 7.984 kB / 0.5888 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.6708, allocations: 195.6 kB / 0.589 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.6766, allocations: 7.302 MB / 0.5961 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.677, allocations: 59.33 kB / 0.5961 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.6771, allocations: 19.94 kB / 0.5962 GB, free: 13.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_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 (40): * Single equations (assignments): 28 * 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.0003772/0.6775, allocations: 213.1 kB / 0.5964 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.6776, allocations: 43.28 kB / 0.5964 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.6787, allocations: 0.5408 MB / 0.5969 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6787, allocations: 7.953 kB / 0.5969 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6787, allocations: 0 / 0.5969 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.6787, allocations: 4 kB / 0.597 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.6793, allocations: 409.4 kB / 0.5973 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6793, allocations: 0 / 0.5973 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/0.6801, allocations: 191.8 kB / 0.5975 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.6802, allocations: 4 kB / 0.5975 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.6802, allocations: 11.86 kB / 0.5975 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/0.6849, allocations: 7.294 MB / 0.6047 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6849, allocations: 0 / 0.6047 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.6857, allocations: 0.5018 MB / 0.6052 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.6859, allocations: 120.6 kB / 0.6053 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.6859, allocations: 7.938 kB / 0.6053 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.6861, allocations: 19.44 kB / 0.6053 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.6862, allocations: 27.83 kB / 0.6053 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.6863, allocations: 12 kB / 0.6053 GB, free: 4.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003733/0.6866, allocations: 356.7 kB / 0.6057 GB, free: 3.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6867, allocations: 0 / 0.6057 GB, free: 3.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005422/0.6872, allocations: 126.8 kB / 0.6058 GB, free: 3.879 MB / 410.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.001276/0.6885, allocations: 1.126 MB / 0.6069 GB, free: 2.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.6898, allocations: 499.1 kB / 0.6074 GB, free: 2.332 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6898, allocations: 0 / 0.6074 GB, free: 2.332 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.6907, allocations: 292.9 kB / 0.6076 GB, free: 2.062 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.6912, allocations: 109.8 kB / 0.6078 GB, free: 1.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.6962, allocations: 4.793 MB / 0.6124 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.6967, allocations: 0.8878 MB / 0.6133 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.6971, allocations: 132 kB / 0.6134 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.6972, allocations: 126.2 kB / 0.6135 GB, free: 12.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6973, allocations: 0 / 0.6135 GB, free: 12.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.7261, allocations: 12.87 MB / 0.6261 GB, free: 15.61 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/0.7265, allocations: 256.1 kB / 0.6264 GB, free: 15.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.156, allocations: 3.938 kB / 0.6264 GB, free: 15.27 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar_KC_res.mat does not exist to compare? outputFormat=mat