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.0009653/0.0009652, allocations: 98.5 kB / 16.99 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.0008937/0.0008937, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.42/1.42, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 8.688 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002852/0.1521, allocations: 2.138 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1541, allocations: 1.318 MB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1543, allocations: 4 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1546, allocations: 83.53 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.1549, allocations: 139.5 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1554, allocations: 203.4 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.1556, allocations: 215.4 kB / 475.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.1557, allocations: 20.73 kB / 475.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1558, allocations: 87.52 kB / 475.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.156, allocations: 123.3 kB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.156, allocations: 8 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008498/0.1569, allocations: 0.5773 MB / 476.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.157, allocations: 39.77 kB / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.157, allocations: 73.52 kB / 476.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.1575, allocations: 315.2 kB / 476.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1575, allocations: 0 / 476.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1575, allocations: 4 kB / 476.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1575, allocations: 0 / 476.9 MB, free: 8.258 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.0007438/0.1583, allocations: 0.577 MB / 477.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1583, allocations: 8.031 kB / 477.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/0.1584, allocations: 74.53 kB / 477.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.1585, allocations: 39.53 kB / 477.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1587, allocations: 246.3 kB / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.1588, allocations: 36.95 kB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.1588, allocations: 36 kB / 477.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.1595, allocations: 0.5687 MB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1596, allocations: 3.938 kB / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.1596, allocations: 20 kB / 478.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1596, allocations: 12 kB / 478.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.1601, allocations: 341 kB / 478.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.1627, allocations: 4.043 MB / 482.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.1631, allocations: 110.5 kB / 483 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1632, allocations: 0 / 483 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1632, allocations: 42.61 kB / 483 MB, free: 1.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.1632, allocations: 0 / 483 MB, free: 1.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005602/0.1638, allocations: 185.2 kB / 483.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1638, allocations: 55.41 kB / 483.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.1642, allocations: 405.7 kB / 483.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1643, allocations: 33.7 kB / 483.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1644, allocations: 243 kB / 483.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.1645, allocations: 35.62 kB / 484 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.1645, allocations: 11.94 kB / 484 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1647, allocations: 346.8 kB / 484.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1649, allocations: 60.61 kB / 484.4 MB, free: 280 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.1652, allocations: 258.5 kB / 484.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.1655, allocations: 103.8 kB / 484.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1655, allocations: 0 / 484.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006444/0.1661, allocations: 361 kB / 485.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.1662, allocations: 8 kB / 485.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.1662, allocations: 8 kB / 485.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.825e-05/0.1662, allocations: 15.95 kB / 485.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.1667, allocations: 111.8 kB / 485.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009169/0.1676, allocations: 1.219 MB / 486.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.168, allocations: 67.27 kB / 486.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.168, allocations: 23.95 kB / 486.5 MB, free: 13.96 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.000192/0.1682, allocations: 146.4 kB / 486.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.1683, allocations: 31.62 kB / 486.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.1688, allocations: 196.7 kB / 486.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1688, allocations: 0 / 486.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1688, allocations: 7.984 kB / 486.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1688, allocations: 0 / 486.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.1692, allocations: 281.4 kB / 487.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1692, allocations: 8 kB / 487.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.1695, allocations: 55.95 kB / 487.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1695, allocations: 0 / 487.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1695, allocations: 0 / 487.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007412/0.1702, allocations: 1.207 MB / 488.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1703, allocations: 4.031 kB / 488.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.1706, allocations: 247.1 kB / 488.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1708, allocations: 116.5 kB / 488.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.1708, allocations: 0 / 488.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.171, allocations: 11.98 kB / 488.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.171, allocations: 7.984 kB / 488.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1711, allocations: 8 kB / 488.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.1713, allocations: 267.1 kB / 489.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1714, allocations: 0 / 489.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000539/0.1719, allocations: 112 kB / 489.2 MB, free: 11.14 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.0009179/0.1728, allocations: 0.8463 MB / 490 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.1734, allocations: 221.5 kB / 490.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1734, allocations: 4 kB / 490.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.1737, allocations: 87.88 kB / 490.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1741, allocations: 37.89 kB / 490.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.1784, allocations: 6.778 MB / 497.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1787, allocations: 0.7755 MB / 497.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.1789, allocations: 38.95 kB / 498 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.179, allocations: 99.41 kB / 498.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.179, allocations: 4 kB / 498.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.2004, allocations: 9.14 MB / 0.4953 GB, free: 9.152 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.2007, allocations: 255 kB / 0.4956 GB, free: 8.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/2.356, allocations: 0 / 0.4956 GB, free: 8.812 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