Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007688/0.0007688, allocations: 97.84 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008171/0.0008171, allocations: 183.1 kB / 17.89 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 241.9 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1903/0.1903, allocations: 44.22 MB / 337.2 MB, free: 2.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003395, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003003/0.1471, allocations: 2.25 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1494, allocations: 1.349 MB / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1496, allocations: 0 / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1499, allocations: 87.42 kB / 475.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.1503, allocations: 119.1 kB / 475.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.1508, allocations: 199.3 kB / 475.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.151, allocations: 270.1 kB / 475.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.1511, allocations: 24.73 kB / 476 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1513, allocations: 87.47 kB / 476 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1514, allocations: 123.2 kB / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1515, allocations: 8 kB / 476.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008611/0.1523, allocations: 0.5539 MB / 476.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.1524, allocations: 39.72 kB / 476.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.1525, allocations: 81.52 kB / 476.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.1529, allocations: 346.8 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1529, allocations: 0 / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1529, allocations: 0 / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.153, allocations: 0 / 477.2 MB, free: 8.098 MB / 350.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.0007872/0.1538, allocations: 0.5732 MB / 477.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1538, allocations: 12.03 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.1539, allocations: 78.53 kB / 477.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.154, allocations: 39.53 kB / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1542, allocations: 242.4 kB / 478.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.1543, allocations: 28.95 kB / 478.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.1543, allocations: 32 kB / 478.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.1551, allocations: 0.5804 MB / 478.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1551, allocations: 7.938 kB / 478.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1551, allocations: 12 kB / 478.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1551, allocations: 12 kB / 478.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.1557, allocations: 349 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.1583, allocations: 4.039 MB / 483.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1585, allocations: 90.53 kB / 483.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1587, allocations: 52.95 kB / 483.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.1587, allocations: 0 / 483.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1587, allocations: 42.45 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.1588, allocations: 0 / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005176/0.1593, allocations: 185.1 kB / 483.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1593, allocations: 55.34 kB / 483.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.1597, allocations: 409.7 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1598, allocations: 25.7 kB / 484 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.16, allocations: 247 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.16, allocations: 31.62 kB / 484.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.16, allocations: 4 kB / 484.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1602, allocations: 350.8 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1604, allocations: 64.61 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1607, allocations: 262.4 kB / 484.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1609, allocations: 99.84 kB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1609, allocations: 8 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005871/0.1615, allocations: 357.2 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1615, allocations: 8.156 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.1615, allocations: 15.95 kB / 485.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.1616, allocations: 11.98 kB / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.1622, allocations: 119.8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008133/0.1631, allocations: 1.211 MB / 486.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.1634, allocations: 75.22 kB / 486.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.1634, allocations: 20 kB / 486.9 MB, free: 13.76 MB / 366.1 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.0001704/0.1636, allocations: 155.8 kB / 487 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.1636, allocations: 31.62 kB / 487 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.1641, allocations: 188.9 kB / 487.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1641, allocations: 0 / 487.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1641, allocations: 0 / 487.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1641, allocations: 3.984 kB / 487.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.1645, allocations: 277.4 kB / 487.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1645, allocations: 4 kB / 487.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.1648, allocations: 55.97 kB / 487.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1648, allocations: 7.938 kB / 487.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1648, allocations: 0 / 487.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006613/0.1655, allocations: 1.207 MB / 488.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1655, allocations: 8.016 kB / 488.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.1659, allocations: 239.7 kB / 489 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.166, allocations: 108.6 kB / 489.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.166, allocations: 0 / 489.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.1662, allocations: 15.98 kB / 489.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.1663, allocations: 11.98 kB / 489.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1663, allocations: 4 kB / 489.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.1666, allocations: 271.1 kB / 489.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1666, allocations: 3.938 kB / 489.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005539/0.1671, allocations: 104 kB / 489.5 MB, free: 10.95 MB / 366.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 () * 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.0008737/0.168, allocations: 0.8613 MB / 490.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006087/0.1686, allocations: 217.3 kB / 490.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1686, allocations: 0 / 490.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.1689, allocations: 83.89 kB / 490.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1693, allocations: 38.2 kB / 490.7 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.1721, allocations: 1.963 MB / 492.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.1725, allocations: 0.7678 MB / 493.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.1726, allocations: 42.89 kB / 493.5 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1728, allocations: 103.3 kB / 493.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1728, allocations: 0 / 493.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.1977, allocations: 9.219 MB / 0.491 GB, free: 13.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.198, allocations: 267 kB / 0.4913 GB, free: 13.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/2.491, allocations: 0 / 0.4913 GB, free: 13.39 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat