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_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.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.002702/0.002708, allocations: 188.7 kB / 16.4 MB, free: 5.625 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.125/2.125, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001218/0.001218, allocations: 98.78 kB / 270.9 MB, free: 13.38 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.3376/0.3376, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000817/0.0008169, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1357, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00395/0.1397, allocations: 2.146 MB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.1442, allocations: 1.358 MB / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.1446, allocations: 0 / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.145, allocations: 95.45 kB / 493.9 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.1456, allocations: 131.5 kB / 494.1 MB, free: 5.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.1464, allocations: 207.4 kB / 494.3 MB, free: 5.277 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.1468, allocations: 211.4 kB / 494.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1469, allocations: 28.72 kB / 494.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.147, allocations: 87.53 kB / 494.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1473, allocations: 115.3 kB / 494.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.1473, allocations: 8 kB / 494.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.1488, allocations: 0.5735 MB / 495.3 MB, free: 4.262 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.507e-05/0.1489, allocations: 43.77 kB / 495.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.149, allocations: 73.52 kB / 495.4 MB, free: 4.141 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006795/0.1497, allocations: 315.1 kB / 495.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1497, allocations: 0 / 495.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.789e-06/0.1497, allocations: 4 kB / 495.7 MB, free: 3.828 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1497, allocations: 0 / 495.7 MB, free: 3.828 MB / 330.7 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.001027/0.1508, allocations: 0.5693 MB / 496.3 MB, free: 3.211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.1508, allocations: 12.03 kB / 496.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.151, allocations: 86.39 kB / 496.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.346e-05/0.1511, allocations: 43.48 kB / 496.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.1514, allocations: 242.2 kB / 496.7 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.1515, allocations: 25 kB / 496.7 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.1516, allocations: 32 kB / 496.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1526, allocations: 0.5763 MB / 497.3 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.1527, allocations: 7.938 kB / 497.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.1527, allocations: 16 kB / 497.3 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.1528, allocations: 19.98 kB / 497.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.1537, allocations: 341 kB / 497.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.1574, allocations: 4.039 MB / 0.4899 GB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.158, allocations: 106.6 kB / 0.49 GB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.1581, allocations: 8 kB / 0.4901 GB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1581, allocations: 38.56 kB / 0.4901 GB, free: 13.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.1582, allocations: 0 / 0.4901 GB, free: 13.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008596/0.159, allocations: 185.2 kB / 0.4903 GB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1591, allocations: 51.41 kB / 0.4903 GB, free: 12.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.1597, allocations: 413.6 kB / 0.4907 GB, free: 12.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.1598, allocations: 25.7 kB / 0.4907 GB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.1601, allocations: 293.5 kB / 0.491 GB, free: 12.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1601, allocations: 27.64 kB / 0.491 GB, free: 12.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.1601, allocations: 8 kB / 0.4911 GB, free: 12.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1603, allocations: 330.7 kB / 0.4914 GB, free: 11.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.1606, allocations: 64.61 kB / 0.4914 GB, free: 11.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.1611, allocations: 270.3 kB / 0.4917 GB, free: 11.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.1614, allocations: 99.91 kB / 0.4918 GB, free: 11.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.517e-06/0.1615, allocations: 4 kB / 0.4918 GB, free: 11.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009942/0.1625, allocations: 336.8 kB / 0.4921 GB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.1625, allocations: 11.44 kB / 0.4921 GB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.1625, allocations: 8.844 kB / 0.4921 GB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.1626, allocations: 12 kB / 0.4921 GB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.1634, allocations: 115.8 kB / 0.4922 GB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.1645, allocations: 1.215 MB / 0.4934 GB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.165, allocations: 67.47 kB / 0.4935 GB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.165, allocations: 24 kB / 0.4935 GB, free: 9.523 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.1653, allocations: 153.6 kB / 0.4937 GB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.1653, allocations: 39.48 kB / 0.4937 GB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/0.1661, allocations: 189.2 kB / 0.4939 GB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1661, allocations: 4 kB / 0.4939 GB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1661, allocations: 0 / 0.4939 GB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1662, allocations: 3.984 kB / 0.4939 GB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.1666, allocations: 269.5 kB / 0.4941 GB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1666, allocations: 0 / 0.4941 GB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.1672, allocations: 55.95 kB / 0.4942 GB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.1672, allocations: 4 kB / 0.4942 GB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1672, allocations: 3.953 kB / 0.4942 GB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009316/0.1682, allocations: 1.203 MB / 0.4954 GB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1682, allocations: 0 / 0.4954 GB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.1688, allocations: 263.2 kB / 0.4956 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.169, allocations: 108.6 kB / 0.4957 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.169, allocations: 0 / 0.4957 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.1693, allocations: 8 kB / 0.4957 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.1694, allocations: 7.984 kB / 0.4958 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.1695, allocations: 12 kB / 0.4958 GB, free: 7.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004297/0.1699, allocations: 267.1 kB / 0.496 GB, free: 6.812 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1699, allocations: 0 / 0.496 GB, free: 6.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000739/0.1707, allocations: 108 kB / 0.4961 GB, free: 6.707 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.172, allocations: 0.8562 MB / 0.497 GB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1731, allocations: 221.5 kB / 0.4972 GB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1732, allocations: 0 / 0.4972 GB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005251/0.1737, allocations: 75.95 kB / 0.4972 GB, free: 5.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.1742, allocations: 45.95 kB / 0.4973 GB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/0.1809, allocations: 6.799 MB / 0.5039 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.1815, allocations: 0.7755 MB / 0.5047 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.1818, allocations: 111.3 kB / 0.5048 GB, free: 13.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1818, allocations: 4 kB / 0.5048 GB, free: 13.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.888/3.07, allocations: 7.913 MB / 0.5125 GB, free: 5.672 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat