Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001469/0.001469, allocations: 178.4 kB / 8.362 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.069/2.069, allocations: 205.3 MB / 214.1 MB, free: 14.09 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.001137/0.001137, allocations: 94.34 kB / 262.1 MB, free: 13.86 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.2961/0.2961, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.288e-05, allocations: 4.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4233, allocations: 58.84 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.654, allocations: 100.3 MB / 0.564 GB, free: 14.83 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.6544, allocations: 95.92 kB / 0.5641 GB, free: 14.73 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05971/0.7141, allocations: 12.09 MB / 0.5759 GB, free: 2.605 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7142, allocations: 0 / 0.5759 GB, free: 2.605 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.7142, allocations: 4 kB / 0.5759 GB, free: 2.602 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001153/0.7154, allocations: 0.5768 MB / 0.5765 GB, free: 1.98 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.7154, allocations: 15.97 kB / 0.5765 GB, free: 1.965 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.7156, allocations: 51.48 kB / 0.5765 GB, free: 1.914 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.716, allocations: 230.5 kB / 0.5767 GB, free: 1.648 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.716, allocations: 12 kB / 0.5768 GB, free: 1.637 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.7161, allocations: 20 kB / 0.5768 GB, free: 1.617 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004932/0.7166, allocations: 221.4 kB / 0.577 GB, free: 1.398 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.7173, allocations: 290.2 kB / 0.5773 GB, free: 1.109 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7173, allocations: 0 / 0.5773 GB, free: 1.109 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.7173, allocations: 0 / 0.5773 GB, free: 1.109 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.7173, allocations: 11.95 kB / 0.5773 GB, free: 1.098 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.7192, allocations: 0.7932 MB / 0.5781 GB, free: 272 kB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.7195, allocations: 74.66 kB / 0.5781 GB, free: 188 kB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.7196, allocations: 36.84 kB / 0.5782 GB, free: 148 kB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.7197, allocations: 7.984 kB / 0.5782 GB, free: 140 kB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.7197, allocations: 34.56 kB / 0.5782 GB, free: 96 kB / 411.1 MB Notification: Performance of pre-optimization done (n=9): time 2.986e-06/0.7198, allocations: 0 / 0.5782 GB, free: 96 kB / 411.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004593/0.7202, allocations: 109.5 kB / 0.5783 GB, free: 15.98 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.7203, allocations: 55.41 kB / 0.5784 GB, free: 15.91 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.7206, allocations: 226 kB / 0.5786 GB, free: 15.69 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.7206, allocations: 25.7 kB / 0.5786 GB, free: 15.66 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.7209, allocations: 317.7 kB / 0.5789 GB, free: 15.35 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.721, allocations: 39.55 kB / 0.5789 GB, free: 15.31 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.721, allocations: 4 kB / 0.5789 GB, free: 15.3 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.7212, allocations: 322.8 kB / 0.5793 GB, free: 14.98 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.7213, allocations: 32.28 kB / 0.5793 GB, free: 14.95 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.7216, allocations: 230 kB / 0.5795 GB, free: 14.63 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.7219, allocations: 79.86 kB / 0.5796 GB, free: 14.55 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.7219, allocations: 4 kB / 0.5796 GB, free: 14.55 MB / 427.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006977/0.7226, allocations: 253.5 kB / 0.5798 GB, free: 14.29 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.7226, allocations: 11.94 kB / 0.5798 GB, free: 14.28 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.149e-05/0.7227, allocations: 23.98 kB / 0.5799 GB, free: 14.26 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/0.7228, allocations: 12 kB / 0.5799 GB, free: 14.25 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.7231, allocations: 59.91 kB / 0.5799 GB, free: 14.19 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.7232, allocations: 11.94 kB / 0.5799 GB, free: 14.18 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.7235, allocations: 43.98 kB / 0.58 GB, free: 14.13 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.7236, allocations: 20 kB / 0.58 GB, free: 14.11 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000145/0.7238, allocations: 120.8 kB / 0.5801 GB, free: 13.99 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003739/0.7241, allocations: 117.3 kB / 0.5802 GB, free: 13.87 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.7242, allocations: 19.72 kB / 0.5802 GB, free: 13.85 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.7248, allocations: 171.4 kB / 0.5804 GB, free: 13.67 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.7249, allocations: 0 / 0.5804 GB, free: 13.67 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7249, allocations: 7.938 kB / 0.5804 GB, free: 13.66 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7249, allocations: 0 / 0.5804 GB, free: 13.66 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.7254, allocations: 261.9 kB / 0.5807 GB, free: 13.37 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-05/0.7254, allocations: 19.98 kB / 0.5807 GB, free: 13.35 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.7256, allocations: 8 kB / 0.5807 GB, free: 13.34 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.7256, allocations: 0 / 0.5807 GB, free: 13.34 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.7256, allocations: 4 kB / 0.5807 GB, free: 13.34 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.7256, allocations: 7.984 kB / 0.5807 GB, free: 13.33 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7256, allocations: 0 / 0.5807 GB, free: 13.33 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.726, allocations: 211.1 kB / 0.5809 GB, free: 13.11 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.7261, allocations: 92.83 kB / 0.581 GB, free: 13 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.7262, allocations: 4 kB / 0.581 GB, free: 13 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.7264, allocations: 11.92 kB / 0.581 GB, free: 12.98 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.7265, allocations: 4 kB / 0.581 GB, free: 12.98 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.7265, allocations: 16 kB / 0.581 GB, free: 12.96 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.7267, allocations: 158 kB / 0.5812 GB, free: 12.81 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7267, allocations: 0 / 0.5812 GB, free: 12.81 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001005/0.7278, allocations: 143.6 kB / 0.5813 GB, free: 12.67 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001665/0.7295, allocations: 0.9373 MB / 0.5822 GB, free: 11.71 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.000817/0.7303, allocations: 260.3 kB / 0.5825 GB, free: 11.43 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7303, allocations: 0 / 0.5825 GB, free: 11.43 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.7308, allocations: 178.7 kB / 0.5826 GB, free: 11.23 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.7311, allocations: 12.89 kB / 0.5827 GB, free: 11.21 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.7329, allocations: 449 kB / 0.5831 GB, free: 10.73 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.7334, allocations: 0.7867 MB / 0.5839 GB, free: 9.918 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.7336, allocations: 103.4 kB / 0.584 GB, free: 9.816 MB / 427.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7336, allocations: 0 / 0.584 GB, free: 9.816 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.99/3.724, allocations: 10.59 MB / 0.5943 GB, free: 15.22 MB / 443.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat