Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.0008962/0.0008962, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009711/0.0009712, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 7.984 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 63.47 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002874/0.1298, allocations: 2.275 MB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1321, allocations: 1.388 MB / 485.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.1323, allocations: 4 kB / 485.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1326, allocations: 87.38 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.1329, allocations: 119 kB / 485.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.1334, allocations: 203.4 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.1337, allocations: 262.2 kB / 486 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.212e-05/0.1337, allocations: 24.73 kB / 486 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1339, allocations: 95.39 kB / 486.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.134, allocations: 115.3 kB / 486.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1341, allocations: 12 kB / 486.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009038/0.135, allocations: 0.5851 MB / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.1351, allocations: 39.72 kB / 486.9 MB, free: 36 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.009e-05/0.1351, allocations: 73.52 kB / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.1356, allocations: 358.8 kB / 487.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1356, allocations: 3.938 kB / 487.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1356, allocations: 0 / 487.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1357, allocations: 4 kB / 487.3 MB, free: 15.6 MB / 366.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.0007384/0.1364, allocations: 0.5771 MB / 487.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1365, allocations: 8.031 kB / 487.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.472e-05/0.1365, allocations: 74.53 kB / 487.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.1366, allocations: 43.48 kB / 488 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1369, allocations: 250.3 kB / 488.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1369, allocations: 29 kB / 488.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.137, allocations: 32 kB / 488.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.1377, allocations: 0.5765 MB / 488.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1377, allocations: 7.938 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1377, allocations: 20 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1377, allocations: 8 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.1383, allocations: 341 kB / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.1406, allocations: 4.043 MB / 493.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.1409, allocations: 94.53 kB / 493.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.141, allocations: 40.97 kB / 493.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1411, allocations: 7.984 kB / 493.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1411, allocations: 30.56 kB / 493.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1411, allocations: 4 kB / 493.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004905/0.1416, allocations: 181.1 kB / 493.6 MB, free: 8.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1416, allocations: 55.41 kB / 493.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.1421, allocations: 409.7 kB / 494.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1421, allocations: 25.7 kB / 494.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1423, allocations: 251 kB / 494.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1423, allocations: 27.64 kB / 494.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.1423, allocations: 4 kB / 494.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1424, allocations: 346.8 kB / 494.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1426, allocations: 68.61 kB / 494.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.1429, allocations: 262.4 kB / 495 MB, free: 7.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1431, allocations: 112.1 kB / 495.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1431, allocations: 0 / 495.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005742/0.1437, allocations: 368.7 kB / 495.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1437, allocations: 8 kB / 495.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1437, allocations: 8 kB / 495.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1437, allocations: 8 kB / 495.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.1442, allocations: 116.6 kB / 495.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006567/0.1449, allocations: 1.219 MB / 496.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.1452, allocations: 63.47 kB / 496.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.1452, allocations: 28 kB / 497 MB, free: 5.258 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.0001423/0.1453, allocations: 149.6 kB / 497.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.1454, allocations: 39.5 kB / 497.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.1459, allocations: 192.8 kB / 497.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1459, allocations: 3.938 kB / 497.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1459, allocations: 0 / 497.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1459, allocations: 0 / 497.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.1462, allocations: 277.5 kB / 497.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1462, allocations: 4 kB / 497.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1465, allocations: 59.91 kB / 497.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1465, allocations: 0 / 497.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1465, allocations: 0 / 497.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005944/0.1471, allocations: 1.215 MB / 498.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1471, allocations: 0 / 498.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.1475, allocations: 243.1 kB / 499.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.1476, allocations: 108.6 kB / 499.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.1476, allocations: 8 kB / 499.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1478, allocations: 7.984 kB / 499.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.1478, allocations: 4 kB / 499.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1478, allocations: 4 kB / 499.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.1481, allocations: 271.1 kB / 499.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1481, allocations: 0 / 499.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005185/0.1486, allocations: 119.9 kB / 499.6 MB, free: 2.438 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.0008888/0.1495, allocations: 0.854 MB / 0.4888 GB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.1501, allocations: 221.6 kB / 0.489 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1501, allocations: 4 kB / 0.489 GB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.1504, allocations: 79.95 kB / 0.489 GB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1508, allocations: 37.89 kB / 0.4891 GB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.1534, allocations: 1.96 MB / 0.491 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1538, allocations: 0.7678 MB / 0.4917 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.1539, allocations: 38.95 kB / 0.4918 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1541, allocations: 99.41 kB / 0.4919 GB, free: 14.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1541, allocations: 8 kB / 0.4919 GB, free: 14.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1786, allocations: 9.376 MB / 0.501 GB, free: 5.062 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/0.1789, allocations: 271.9 kB / 0.5013 GB, free: 4.699 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.431, allocations: 0 / 0.5013 GB, free: 4.699 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat