Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 96.11 kB / 16.98 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.001332/0.001332, allocations: 200.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, 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.2034/0.2034, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002347, allocations: 4 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1345, allocations: 63.47 MB / 481.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002501/0.137, allocations: 1.709 MB / 483.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1396, allocations: 1.54 MB / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.1397, allocations: 0 / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.14, allocations: 79.59 kB / 484.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.1401, allocations: 59.83 kB / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.1408, allocations: 283.2 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.141, allocations: 115.7 kB / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.223e-05/0.1411, allocations: 12.31 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.1412, allocations: 47.78 kB / 485.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1412, allocations: 51.66 kB / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1413, allocations: 4 kB / 485.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.1424, allocations: 0.7685 MB / 486.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.1424, allocations: 31.84 kB / 486.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.1425, allocations: 57.58 kB / 486.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.1431, allocations: 335.3 kB / 486.6 MB, free: 148 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1431, allocations: 0 / 486.6 MB, free: 148 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1431, allocations: 0 / 486.6 MB, free: 148 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1431, allocations: 4 kB / 486.6 MB, free: 144 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000854/0.144, allocations: 498.9 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.144, allocations: 16.02 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.378e-05/0.1441, allocations: 54.55 kB / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1442, allocations: 23.77 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1444, allocations: 210.2 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1444, allocations: 16.44 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.1444, allocations: 16 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.1449, allocations: 267.5 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1449, allocations: 0 / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1449, allocations: 11.98 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1449, allocations: 8 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.1453, allocations: 172.2 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1465, allocations: 0.908 MB / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1467, allocations: 62.55 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1467, allocations: 0 / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1467, allocations: 30.56 kB / 488.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1467, allocations: 4 kB / 488.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007792/0.1475, allocations: 311.6 kB / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1476, allocations: 55.36 kB / 489.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.1479, allocations: 270.9 kB / 489.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1479, allocations: 25.7 kB / 489.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.148, allocations: 183 kB / 489.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1481, allocations: 19.78 kB / 489.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.1481, allocations: 8 kB / 489.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1483, allocations: 326.8 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1484, allocations: 56.19 kB / 490.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1486, allocations: 188.1 kB / 490.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1488, allocations: 75.91 kB / 490.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1488, allocations: 0 / 490.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000455/0.1493, allocations: 265.5 kB / 490.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1493, allocations: 8 kB / 490.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.1493, allocations: 20.05 kB / 490.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1494, allocations: 12.12 kB / 490.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1495, allocations: 55.84 kB / 490.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1496, allocations: 8 kB / 490.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.1497, allocations: 47.56 kB / 490.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1497, allocations: 16 kB / 490.8 MB, free: 11.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.1499, allocations: 140.3 kB / 490.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.1499, allocations: 19.72 kB / 491 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.1503, allocations: 154.8 kB / 491.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1503, allocations: 3.938 kB / 491.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1504, allocations: 0 / 491.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1504, allocations: 0 / 491.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.1507, allocations: 225.5 kB / 491.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.1507, allocations: 12 kB / 491.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1507, allocations: 11.98 kB / 491.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1507, allocations: 0 / 491.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1508, allocations: 4 kB / 491.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1508, allocations: 0 / 491.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1508, allocations: 0 / 491.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.1511, allocations: 219.2 kB / 491.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.1512, allocations: 92.83 kB / 491.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.1512, allocations: 4 kB / 491.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1513, allocations: 7.984 kB / 491.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1514, allocations: 4 kB / 491.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1514, allocations: 8 kB / 491.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.1516, allocations: 182 kB / 491.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1516, allocations: 0 / 491.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.1521, allocations: 103.9 kB / 492 MB, free: 10.33 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008888/0.153, allocations: 0.8454 MB / 492.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000476/0.1535, allocations: 220.4 kB / 493 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1535, allocations: 0 / 493 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.1537, allocations: 107.6 kB / 493.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.154, allocations: 20.88 kB / 493.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.1583, allocations: 4.61 MB / 497.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1586, allocations: 0.7404 MB / 498.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1587, allocations: 29.88 kB / 498.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.1588, allocations: 59.42 kB / 498.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1588, allocations: 0 / 498.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.1806, allocations: 8.294 MB / 0.495 GB, free: 11.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.1809, allocations: 250.9 kB / 0.4952 GB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/2.377, allocations: 0 / 0.4952 GB, free: 11.12 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat