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_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_cpp_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_cpp_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.00207/0.00207, allocations: 178.8 kB / 8.363 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 92.7 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3185/0.3185, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.28e-05, allocations: 0 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.413, allocations: 58.85 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.5877, allocations: 92.63 MB / 0.5565 GB, free: 6.566 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/0.5881, allocations: 103.4 kB / 0.5566 GB, free: 6.469 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05555/0.6437, allocations: 11.65 MB / 0.5679 GB, free: 10.65 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6438, allocations: 0 / 0.5679 GB, free: 10.65 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.6438, allocations: 8 kB / 0.568 GB, free: 10.64 MB / 411.1 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.001499/0.6453, allocations: 0.6123 MB / 0.5686 GB, free: 9.98 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.6454, allocations: 8.031 kB / 0.5686 GB, free: 9.973 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.6456, allocations: 47.44 kB / 0.5686 GB, free: 9.926 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.6462, allocations: 298.3 kB / 0.5689 GB, free: 9.594 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.6462, allocations: 16 kB / 0.5689 GB, free: 9.578 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/0.6463, allocations: 24 kB / 0.5689 GB, free: 9.555 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/0.6477, allocations: 0.5803 MB / 0.5695 GB, free: 8.977 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.6492, allocations: 0.5621 MB / 0.57 GB, free: 8.406 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.6492, allocations: 0 / 0.57 GB, free: 8.406 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.6493, allocations: 0 / 0.57 GB, free: 8.406 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.6494, allocations: 37.3 kB / 0.5701 GB, free: 8.371 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.653, allocations: 1.226 MB / 0.5713 GB, free: 7.105 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6545, allocations: 0.5025 MB / 0.5718 GB, free: 6.594 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.655, allocations: 160.7 kB / 0.5719 GB, free: 6.434 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.6551, allocations: 15.97 kB / 0.5719 GB, free: 6.418 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.6551, allocations: 42.5 kB / 0.572 GB, free: 6.367 MB / 411.1 MB Notification: Performance of pre-optimization done (n=37): time 3.636e-06/0.6551, allocations: 0 / 0.572 GB, free: 6.367 MB / 411.1 MB Notification: Performance of matching and sorting (n=37): time 0.001213/0.6564, allocations: 404.9 kB / 0.5724 GB, free: 5.965 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.6564, allocations: 55.41 kB / 0.5724 GB, free: 5.898 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.6567, allocations: 166.2 kB / 0.5726 GB, free: 5.727 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.6567, allocations: 25.7 kB / 0.5726 GB, free: 5.695 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.657, allocations: 286.8 kB / 0.5729 GB, free: 5.414 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.6572, allocations: 130.1 kB / 0.573 GB, free: 5.285 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.6572, allocations: 0 / 0.573 GB, free: 5.285 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.6574, allocations: 330.8 kB / 0.5733 GB, free: 4.953 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.6579, allocations: 152.7 kB / 0.5735 GB, free: 4.805 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.6585, allocations: 254.5 kB / 0.5737 GB, free: 4.52 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005915/0.6591, allocations: 199.7 kB / 0.5739 GB, free: 4.324 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6591, allocations: 4 kB / 0.5739 GB, free: 4.32 MB / 411.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001336/0.6605, allocations: 468.7 kB / 0.5743 GB, free: 3.855 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.6605, allocations: 8 kB / 0.5743 GB, free: 3.848 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6605, allocations: 384 / 0.5743 GB, free: 3.848 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/0.6606, allocations: 12 kB / 0.5744 GB, free: 3.836 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.6625, allocations: 211.7 kB / 0.5746 GB, free: 3.629 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005537/0.6681, allocations: 7.317 MB / 0.5817 GB, free: 12.03 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.6687, allocations: 36.02 kB / 0.5817 GB, free: 12 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/0.6688, allocations: 23.98 kB / 0.5818 GB, free: 11.97 MB / 427.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * 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.0002302/0.669, allocations: 128.3 kB / 0.5819 GB, free: 11.84 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001138/0.6702, allocations: 401 kB / 0.5823 GB, free: 11.45 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.6703, allocations: 23.67 kB / 0.5823 GB, free: 11.42 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.672, allocations: 0.5389 MB / 0.5828 GB, free: 10.87 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.6721, allocations: 12 kB / 0.5828 GB, free: 10.86 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6721, allocations: 0 / 0.5828 GB, free: 10.86 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.6721, allocations: 3.984 kB / 0.5828 GB, free: 10.86 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.6731, allocations: 373.8 kB / 0.5832 GB, free: 10.45 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6731, allocations: 3.984 kB / 0.5832 GB, free: 10.45 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/0.6751, allocations: 199.8 kB / 0.5834 GB, free: 10.25 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.6752, allocations: 4 kB / 0.5834 GB, free: 10.25 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.6753, allocations: 11.94 kB / 0.5834 GB, free: 10.24 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005856/0.6811, allocations: 7.317 MB / 0.5905 GB, free: 2.641 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.6812, allocations: 0 / 0.5905 GB, free: 2.641 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.6824, allocations: 0.5116 MB / 0.591 GB, free: 2.113 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.6826, allocations: 104.7 kB / 0.5911 GB, free: 1.992 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.6826, allocations: 0 / 0.5911 GB, free: 1.992 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.6831, allocations: 7.984 kB / 0.5912 GB, free: 1.984 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.6832, allocations: 31.95 kB / 0.5912 GB, free: 1.953 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.6833, allocations: 15.98 kB / 0.5912 GB, free: 1.938 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.6835, allocations: 131.5 kB / 0.5913 GB, free: 1.809 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6835, allocations: 3.938 kB / 0.5913 GB, free: 1.805 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0008601/0.6844, allocations: 147.5 kB / 0.5915 GB, free: 1.66 MB / 427.1 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 (37): * Single equations (assignments): 25 * 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.001886/0.6863, allocations: 1.117 MB / 0.5926 GB, free: 0.5195 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.6888, allocations: 0.4951 MB / 0.593 GB, free: 24 kB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6888, allocations: 0 / 0.593 GB, free: 24 kB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.6906, allocations: 312.4 kB / 0.5933 GB, free: 15.72 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.6911, allocations: 19.84 kB / 0.5934 GB, free: 15.7 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.6936, allocations: 0.7706 MB / 0.5941 GB, free: 14.88 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.6943, allocations: 0.8891 MB / 0.595 GB, free: 13.96 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.6947, allocations: 123.4 kB / 0.5951 GB, free: 13.84 MB / 443.1 MB Notification: Performance of SimCode: time 1.442e-06/0.6947, allocations: 0 / 0.5951 GB, free: 13.84 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.651/4.346, allocations: 27.07 MB / 0.6215 GB, free: 2.727 MB / 459.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat