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.002237/0.002236, allocations: 178 kB / 8.363 MB, free: 0.7148 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.201/2.201, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001902/0.001901, allocations: 93.86 kB / 262.1 MB, free: 13.87 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.2992/0.2992, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.239e-05, allocations: 4 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 58.85 MB / 477.2 MB, free: 5.184 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.5722, allocations: 89.97 MB / 0.5539 GB, free: 9.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003968/0.5727, allocations: 91.44 kB / 0.554 GB, free: 9.145 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05833/0.6311, allocations: 11.8 MB / 0.5655 GB, free: 13.25 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6311, allocations: 0 / 0.5655 GB, free: 13.25 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.6311, allocations: 4 kB / 0.5655 GB, free: 13.25 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00101/0.6322, allocations: 0.4953 MB / 0.566 GB, free: 12.71 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.6322, allocations: 12.03 kB / 0.566 GB, free: 12.7 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.6323, allocations: 27.62 kB / 0.566 GB, free: 12.67 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.6328, allocations: 238.6 kB / 0.5662 GB, free: 12.39 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.6328, allocations: 8 kB / 0.5662 GB, free: 12.39 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.6329, allocations: 12 kB / 0.5663 GB, free: 12.38 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007587/0.6336, allocations: 317.1 kB / 0.5666 GB, free: 12.07 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.6344, allocations: 308.9 kB / 0.5668 GB, free: 11.76 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.6344, allocations: 4 kB / 0.5669 GB, free: 11.76 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.6345, allocations: 3.984 kB / 0.5669 GB, free: 11.75 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/0.6346, allocations: 20.77 kB / 0.5669 GB, free: 11.73 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.6367, allocations: 0.7565 MB / 0.5676 GB, free: 10.94 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.6374, allocations: 230.3 kB / 0.5678 GB, free: 10.7 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.6376, allocations: 72.86 kB / 0.5679 GB, free: 10.63 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.6377, allocations: 11.94 kB / 0.5679 GB, free: 10.62 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.6377, allocations: 34.56 kB / 0.5679 GB, free: 10.57 MB / 411.1 MB Notification: Performance of pre-optimization done (n=16): time 3.447e-06/0.6377, allocations: 0 / 0.5679 GB, free: 10.57 MB / 411.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006516/0.6384, allocations: 201.7 kB / 0.5681 GB, free: 10.37 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.6385, allocations: 59.41 kB / 0.5682 GB, free: 10.3 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.6387, allocations: 166.2 kB / 0.5684 GB, free: 10.13 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.6388, allocations: 29.64 kB / 0.5684 GB, free: 10.09 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.639, allocations: 246.2 kB / 0.5686 GB, free: 9.852 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.639, allocations: 47.2 kB / 0.5687 GB, free: 9.805 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.6391, allocations: 0 / 0.5687 GB, free: 9.805 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6392, allocations: 322.8 kB / 0.569 GB, free: 9.48 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.6395, allocations: 80.41 kB / 0.569 GB, free: 9.398 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.6398, allocations: 167.8 kB / 0.5692 GB, free: 9.195 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.6401, allocations: 115.8 kB / 0.5693 GB, free: 9.082 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.6401, allocations: 0 / 0.5693 GB, free: 9.082 MB / 411.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007915/0.6409, allocations: 269.2 kB / 0.5696 GB, free: 8.812 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.641, allocations: 11.94 kB / 0.5696 GB, free: 8.801 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.641, allocations: 3.953 kB / 0.5696 GB, free: 8.797 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.6411, allocations: 8 kB / 0.5696 GB, free: 8.789 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6422, allocations: 123.8 kB / 0.5697 GB, free: 8.668 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.6452, allocations: 3.673 MB / 0.5733 GB, free: 4.855 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.6456, allocations: 19.83 kB / 0.5733 GB, free: 4.836 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.6457, allocations: 12.28 kB / 0.5733 GB, free: 4.824 MB / 411.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: 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.000176/0.6459, allocations: 120.8 kB / 0.5734 GB, free: 4.699 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005702/0.6465, allocations: 205.1 kB / 0.5736 GB, free: 4.496 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.6465, allocations: 19.77 kB / 0.5737 GB, free: 4.477 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.6474, allocations: 279.2 kB / 0.5739 GB, free: 4.195 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6475, allocations: 4 kB / 0.5739 GB, free: 4.191 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.6475, allocations: 4 kB / 0.5739 GB, free: 4.188 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6475, allocations: 0 / 0.5739 GB, free: 4.188 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.6481, allocations: 258.1 kB / 0.5742 GB, free: 3.898 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.6481, allocations: 3.984 kB / 0.5742 GB, free: 3.895 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/0.6491, allocations: 95.92 kB / 0.5743 GB, free: 3.801 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.6491, allocations: 3.953 kB / 0.5743 GB, free: 3.797 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.6492, allocations: 7.984 kB / 0.5743 GB, free: 3.789 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.6521, allocations: 3.664 MB / 0.5779 GB, free: 15.98 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/0.6522, allocations: 0 / 0.5779 GB, free: 15.98 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.6528, allocations: 303.8 kB / 0.5782 GB, free: 15.67 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.6529, allocations: 96.84 kB / 0.5783 GB, free: 15.56 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.653, allocations: 3.953 kB / 0.5783 GB, free: 15.55 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.6533, allocations: 11.98 kB / 0.5783 GB, free: 15.54 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.6534, allocations: 15.98 kB / 0.5783 GB, free: 15.53 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.6534, allocations: 4 kB / 0.5783 GB, free: 15.52 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.6536, allocations: 131.5 kB / 0.5784 GB, free: 15.39 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6536, allocations: 0 / 0.5784 GB, free: 15.39 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006026/0.6542, allocations: 83.67 kB / 0.5785 GB, free: 15.31 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 (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.001221/0.6554, allocations: 0.8942 MB / 0.5794 GB, free: 14.4 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.6567, allocations: 259.3 kB / 0.5796 GB, free: 14.15 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6568, allocations: 0 / 0.5796 GB, free: 14.15 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.6576, allocations: 152.5 kB / 0.5798 GB, free: 14 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.658, allocations: 27.92 kB / 0.5798 GB, free: 13.97 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.6596, allocations: 469.2 kB / 0.5802 GB, free: 13.47 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.6601, allocations: 0.7945 MB / 0.581 GB, free: 12.65 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.6603, allocations: 71.41 kB / 0.5811 GB, free: 12.58 MB / 427.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6603, allocations: 0 / 0.5811 GB, free: 12.58 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.18/3.84, allocations: 10.8 MB / 0.5916 GB, free: 1.773 MB / 427.1 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