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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_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.002142/0.002141, allocations: 181.3 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.078/2.078, 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.001087/0.001087, allocations: 94.64 kB / 267.5 MB, free: 14.04 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.2838/0.2838, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.548e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 58.86 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.5995, allocations: 90.62 MB / 0.5614 GB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.5999, allocations: 100.5 kB / 0.5615 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05702/0.6569, allocations: 11.91 MB / 0.5731 GB, free: 2.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.657, allocations: 8 kB / 0.5731 GB, free: 2.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.657, allocations: 0 / 0.5731 GB, free: 2.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000945/0.658, allocations: 493.6 kB / 0.5736 GB, free: 2.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.658, allocations: 12.03 kB / 0.5736 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.943e-05/0.6582, allocations: 67.97 kB / 0.5737 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.6583, allocations: 27.62 kB / 0.5737 GB, free: 2.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.6587, allocations: 248.3 kB / 0.574 GB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.6587, allocations: 19.44 kB / 0.574 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.6588, allocations: 27 kB / 0.574 GB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/0.6596, allocations: 345.6 kB / 0.5743 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.6597, allocations: 0 / 0.5743 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.6597, allocations: 11.42 kB / 0.5743 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/0.6598, allocations: 24.33 kB / 0.5744 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007888/0.6606, allocations: 342.9 kB / 0.5747 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.6627, allocations: 0.8567 MB / 0.5755 GB, free: 420 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.6634, allocations: 248.2 kB / 0.5758 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.6637, allocations: 79.55 kB / 0.5758 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.6637, allocations: 8.406 kB / 0.5758 GB, free: 108 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.6638, allocations: 37.75 kB / 0.5759 GB, free: 64 kB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 3.156e-06/0.6638, allocations: 0 / 0.5759 GB, free: 64 kB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007215/0.6645, allocations: 215.8 kB / 0.5761 GB, free: 15.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.6646, allocations: 59.41 kB / 0.5761 GB, free: 15.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.6652, allocations: 307.8 kB / 0.5764 GB, free: 15.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.6652, allocations: 28.95 kB / 0.5765 GB, free: 15.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.6654, allocations: 220 kB / 0.5767 GB, free: 15.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.6655, allocations: 54.14 kB / 0.5767 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.6655, allocations: 7.562 kB / 0.5767 GB, free: 15.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6656, allocations: 326.3 kB / 0.577 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.6659, allocations: 86.09 kB / 0.5771 GB, free: 14.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.6663, allocations: 177.2 kB / 0.5773 GB, free: 14.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.6666, allocations: 111.9 kB / 0.5774 GB, free: 14.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.6667, allocations: 3.984 kB / 0.5774 GB, free: 14.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008391/0.6675, allocations: 292.8 kB / 0.5777 GB, free: 14.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.6676, allocations: 4.375 kB / 0.5777 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6676, allocations: 8 kB / 0.5777 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/0.6676, allocations: 7.984 kB / 0.5777 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.6688, allocations: 126.9 kB / 0.5778 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.6715, allocations: 3.647 MB / 0.5814 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.672, allocations: 49.52 kB / 0.5814 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.6721, allocations: 8 kB / 0.5814 GB, free: 10.37 MB / 394.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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.6722, allocations: 126.1 kB / 0.5816 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.6723, allocations: 27.67 kB / 0.5816 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000953/0.6733, allocations: 299.5 kB / 0.5819 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6733, allocations: 4 kB / 0.5819 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6733, allocations: 0 / 0.5819 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6734, allocations: 0 / 0.5819 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.6739, allocations: 300 kB / 0.5822 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6739, allocations: 0 / 0.5822 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.6749, allocations: 111 kB / 0.5823 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.675, allocations: 3.953 kB / 0.5823 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.675, allocations: 8 kB / 0.5823 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.6777, allocations: 3.651 MB / 0.5858 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.6778, allocations: 3.984 kB / 0.5859 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.6785, allocations: 315.1 kB / 0.5862 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.6787, allocations: 108.7 kB / 0.5863 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/0.6787, allocations: 0 / 0.5863 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.6791, allocations: 15.55 kB / 0.5863 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.6792, allocations: 20.06 kB / 0.5863 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.6792, allocations: 7.438 kB / 0.5863 GB, free: 5.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003893/0.6796, allocations: 237.1 kB / 0.5865 GB, free: 5.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6796, allocations: 0 / 0.5865 GB, free: 5.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005654/0.6802, allocations: 82.28 kB / 0.5866 GB, free: 5.039 MB / 394.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/0.6815, allocations: 0.9111 MB / 0.5875 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.6829, allocations: 275.2 kB / 0.5878 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6829, allocations: 3.938 kB / 0.5878 GB, free: 3.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.6838, allocations: 153.2 kB / 0.5879 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.6844, allocations: 55.92 kB / 0.588 GB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.686, allocations: 0.5031 MB / 0.5884 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.6865, allocations: 0.7937 MB / 0.5892 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.6868, allocations: 76.41 kB / 0.5893 GB, free: 2.344 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6868, allocations: 0 / 0.5893 GB, free: 2.344 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.304/3.991, allocations: 11.81 MB / 0.6008 GB, free: 6.555 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent_KC_res.mat does not exist to compare? outputFormat=mat