Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.0009986/0.0009982, allocations: 94.97 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 45.91 MB / 344 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 8 kB / 418.1 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 63.46 MB / 481.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00201/0.1322, allocations: 1.775 MB / 483.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1335, allocations: 0.9825 MB / 484.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.1336, allocations: 0 / 484.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.1338, allocations: 79.5 kB / 484.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1341, allocations: 83.77 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1344, allocations: 99.73 kB / 484.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.1346, allocations: 135.6 kB / 484.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.1347, allocations: 12.41 kB / 484.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1348, allocations: 71.64 kB / 484.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1349, allocations: 79.55 kB / 484.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.135, allocations: 8 kB / 484.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.1354, allocations: 267.7 kB / 485.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.1354, allocations: 23.84 kB / 485.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.1355, allocations: 53.58 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1357, allocations: 183.5 kB / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1357, allocations: 0 / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1357, allocations: 0 / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1358, allocations: 4 kB / 485.4 MB, free: 1.352 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005613/0.1363, allocations: 479 kB / 485.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1364, allocations: 8.031 kB / 485.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.1364, allocations: 58.55 kB / 485.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.1365, allocations: 23.72 kB / 485.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1367, allocations: 222.6 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1367, allocations: 16.44 kB / 486.2 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.1367, allocations: 23.94 kB / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.1371, allocations: 235.2 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1372, allocations: 0 / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1372, allocations: 4 kB / 486.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.1372, allocations: 4 kB / 486.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.1378, allocations: 261.6 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008926/0.1387, allocations: 0.6196 MB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.1391, allocations: 122.6 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1391, allocations: 4 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1391, allocations: 30.56 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.1391, allocations: 0 / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005167/0.1396, allocations: 181.7 kB / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1397, allocations: 55.41 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1399, allocations: 262.9 kB / 487.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.14, allocations: 25.8 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1401, allocations: 175.2 kB / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.1401, allocations: 39.55 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.1401, allocations: 4 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1403, allocations: 330.8 kB / 488.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1404, allocations: 63.89 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.1407, allocations: 140.8 kB / 488.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1409, allocations: 75.91 kB / 488.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1409, allocations: 4 kB / 488.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004909/0.1414, allocations: 245.4 kB / 489 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.1414, allocations: 4 kB / 489 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1414, allocations: 4 kB / 489 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.1414, allocations: 8 kB / 489 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.1418, allocations: 87.88 kB / 489.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.1429, allocations: 1.219 MB / 490.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.1431, allocations: 43.58 kB / 490.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1431, allocations: 12 kB / 490.4 MB, free: 12.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001635/0.1433, allocations: 140.5 kB / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.1434, allocations: 23.67 kB / 490.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.1439, allocations: 183.2 kB / 490.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.144, allocations: 3.984 kB / 490.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.144, allocations: 4 kB / 490.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.144, allocations: 0 / 490.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000722/0.1447, allocations: 464 kB / 491.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1447, allocations: 0 / 491.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.145, allocations: 55.91 kB / 491.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.145, allocations: 4 kB / 491.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.145, allocations: 4.141 kB / 491.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008182/0.1459, allocations: 1.215 MB / 492.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1459, allocations: 3.938 kB / 492.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.1463, allocations: 280.5 kB / 492.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.1464, allocations: 108.6 kB / 492.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1464, allocations: 4 kB / 492.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1466, allocations: 15.98 kB / 492.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1466, allocations: 7.984 kB / 492.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1466, allocations: 4 kB / 492.9 MB, free: 9.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1468, allocations: 186 kB / 493.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1468, allocations: 0 / 493.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.1473, allocations: 68 kB / 493.1 MB, free: 9.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0009714/0.1482, allocations: 0.9957 MB / 494.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006264/0.1489, allocations: 180.3 kB / 494.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1489, allocations: 0 / 494.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.1492, allocations: 91.88 kB / 494.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1496, allocations: 24.34 kB / 494.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.1531, allocations: 3.49 MB / 497.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1535, allocations: 0.7365 MB / 498.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.829e-05/0.1536, allocations: 21.95 kB / 498.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.033e-05/0.1537, allocations: 63.41 kB / 498.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1537, allocations: 0 / 498.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.1718, allocations: 5.48 MB / 0.4924 GB, free: 14.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.1721, allocations: 253.1 kB / 0.4926 GB, free: 13.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.117, allocations: 1.875 kB / 0.4926 GB, free: 13.74 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat