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.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,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.00152/0.00152, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001166/0.001166, allocations: 78.66 kB / 267.5 MB, free: 14.05 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.2939/0.2939, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.628e-05, allocations: 4 kB / 425.4 MB, free: 23.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1266, allocations: 58.85 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5242/0.6509, allocations: 93.77 MB / 0.5645 GB, free: 9.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004051/0.6514, allocations: 97.28 kB / 0.5646 GB, free: 9.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05576/0.7071, allocations: 12.29 MB / 0.5766 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7072, allocations: 0 / 0.5766 GB, free: 14.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.7072, allocations: 8 kB / 0.5766 GB, free: 14.86 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001535/0.7088, allocations: 0.6468 MB / 0.5772 GB, free: 14.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.7089, allocations: 15.97 kB / 0.5772 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.709, allocations: 96.44 kB / 0.5773 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.7092, allocations: 51.39 kB / 0.5774 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.7098, allocations: 292.7 kB / 0.5777 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.7099, allocations: 35.25 kB / 0.5777 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-05/0.71, allocations: 41.75 kB / 0.5777 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7115, allocations: 0.6239 MB / 0.5783 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.7116, allocations: 0 / 0.5783 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.7116, allocations: 18.94 kB / 0.5784 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.7117, allocations: 25 kB / 0.5784 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.7129, allocations: 423.3 kB / 0.5788 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.7165, allocations: 1.552 MB / 0.5803 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.7173, allocations: 265.9 kB / 0.5806 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.7177, allocations: 124.7 kB / 0.5807 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.121e-05/0.7178, allocations: 15.61 kB / 0.5807 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.7179, allocations: 30.56 kB / 0.5807 GB, free: 11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.206e-06/0.7179, allocations: 0 / 0.5807 GB, free: 11 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001099/0.719, allocations: 317.5 kB / 0.581 GB, free: 10.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.7191, allocations: 114.5 kB / 0.5811 GB, free: 10.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/0.72, allocations: 491.4 kB / 0.5816 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.7201, allocations: 29.45 kB / 0.5816 GB, free: 10.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.7203, allocations: 258.4 kB / 0.5819 GB, free: 9.945 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.7204, allocations: 72.31 kB / 0.5819 GB, free: 9.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.7205, allocations: 3.688 kB / 0.582 GB, free: 9.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7207, allocations: 322.3 kB / 0.5823 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.7211, allocations: 133.9 kB / 0.5824 GB, free: 9.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.7216, allocations: 244.9 kB / 0.5826 GB, free: 9.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.7221, allocations: 161.7 kB / 0.5828 GB, free: 9.035 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7221, allocations: 0 / 0.5828 GB, free: 9.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001241/0.7234, allocations: 416.7 kB / 0.5832 GB, free: 8.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.7234, allocations: 8 kB / 0.5832 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.7236, allocations: 39.16 kB / 0.5832 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.7236, allocations: 8 kB / 0.5832 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.724, allocations: 47.89 kB / 0.5833 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.7241, allocations: 8.297 kB / 0.5833 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/0.7248, allocations: 85.8 kB / 0.5834 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.7248, allocations: 19.94 kB / 0.5834 GB, free: 8.461 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.725, allocations: 133 kB / 0.5835 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.7252, allocations: 43.44 kB / 0.5835 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.7266, allocations: 431.1 kB / 0.584 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.7267, allocations: 7.984 kB / 0.584 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.7267, allocations: 4 kB / 0.584 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.7267, allocations: 4 kB / 0.584 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.7278, allocations: 390.7 kB / 0.5843 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001235/0.7279, allocations: 35.97 kB / 0.5844 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.7283, allocations: 35.91 kB / 0.5844 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.7283, allocations: 4 kB / 0.5844 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.7284, allocations: 14.86 kB / 0.5844 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.7284, allocations: 0 / 0.5844 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7284, allocations: 0 / 0.5844 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.7296, allocations: 0.5774 MB / 0.585 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.7298, allocations: 116.6 kB / 0.5851 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.73, allocations: 7.375 kB / 0.5851 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/0.7305, allocations: 23.97 kB / 0.5851 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7307, allocations: 23.3 kB / 0.5852 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.7307, allocations: 19.97 kB / 0.5852 GB, free: 6.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007222/0.7315, allocations: 391.9 kB / 0.5856 GB, free: 6.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7315, allocations: 0 / 0.5856 GB, free: 6.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009058/0.7324, allocations: 140.6 kB / 0.5857 GB, free: 6.223 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001917/0.7343, allocations: 1.349 MB / 0.587 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.7356, allocations: 0.608 MB / 0.5876 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7356, allocations: 0 / 0.5876 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.7362, allocations: 448.4 kB / 0.588 GB, free: 3.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.7372, allocations: 118.7 kB / 0.5881 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.7402, allocations: 0.8337 MB / 0.589 GB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.7409, allocations: 0.8685 MB / 0.5898 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.7412, allocations: 124.1 kB / 0.5899 GB, free: 1.895 MB / 394.7 MB Notification: Performance of SimCode: time 3.437e-06/0.7412, allocations: 4 kB / 0.5899 GB, free: 1.891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/3.383, allocations: 10.39 MB / 0.6001 GB, free: 7.543 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_res.mat does not exist to compare? outputFormat=mat