Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009549/0.000955, allocations: 98.84 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009582/0.0009582, allocations: 198.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002776, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 63.46 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003008/0.1469, allocations: 1.721 MB / 483.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1494, allocations: 1.252 MB / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1496, allocations: 4 kB / 484.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.15, allocations: 71.67 kB / 484.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.1502, allocations: 71.73 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.1508, allocations: 175 kB / 484.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.1511, allocations: 115.7 kB / 484.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.1512, allocations: 16.25 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1514, allocations: 55.72 kB / 485 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1515, allocations: 55.7 kB / 485.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1515, allocations: 4 kB / 485.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00083/0.1523, allocations: 427.5 kB / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.1524, allocations: 19.86 kB / 485.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.1525, allocations: 53.58 kB / 485.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.153, allocations: 243.5 kB / 485.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.153, allocations: 7.938 kB / 485.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.153, allocations: 4 kB / 485.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.153, allocations: 0 / 485.8 MB, free: 0.9688 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007588/0.1538, allocations: 478.5 kB / 486.3 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1538, allocations: 12.03 kB / 486.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.392e-05/0.1539, allocations: 50.55 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.154, allocations: 19.81 kB / 486.3 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1543, allocations: 214.7 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1543, allocations: 12 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.1543, allocations: 16 kB / 486.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.1549, allocations: 206.7 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1549, allocations: 0 / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.1549, allocations: 4 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.155, allocations: 11.98 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.1554, allocations: 160.2 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1566, allocations: 0.5792 MB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1569, allocations: 62.55 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.157, allocations: 3.984 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.157, allocations: 38.62 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 4.178e-06/0.157, allocations: 0 / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007433/0.1578, allocations: 303.6 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.1578, allocations: 55.39 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.1582, allocations: 262.6 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1583, allocations: 29.64 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1584, allocations: 159.7 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1585, allocations: 23.73 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.1585, allocations: 0 / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1587, allocations: 334.8 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.1589, allocations: 39.97 kB / 488.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.1592, allocations: 143.4 kB / 489 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1594, allocations: 67.91 kB / 489 MB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1595, allocations: 0 / 489 MB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005922/0.1601, allocations: 213 kB / 489.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.1601, allocations: 4 kB / 489.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.585e-05/0.1602, allocations: 15.98 kB / 489.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1602, allocations: 4 kB / 489.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1604, allocations: 36.42 kB / 489.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.1604, allocations: 7.938 kB / 489.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1607, allocations: 35.67 kB / 489.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.1607, allocations: 12 kB / 489.4 MB, free: 13.11 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 (17): * Single equations (assignments): 15 * 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.0001714/0.1609, allocations: 133.7 kB / 489.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.161, allocations: 19.72 kB / 489.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005617/0.1615, allocations: 150.9 kB / 489.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1616, allocations: 4 kB / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1616, allocations: 0 / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1616, allocations: 0 / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.1619, allocations: 221.7 kB / 489.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.1619, allocations: 12 kB / 489.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.162, allocations: 11.98 kB / 489.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.162, allocations: 0 / 489.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.162, allocations: 0 / 489.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.162, allocations: 0 / 489.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.162, allocations: 8 kB / 489.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1623, allocations: 219.1 kB / 490.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.1624, allocations: 92.83 kB / 490.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1625, allocations: 7.938 kB / 490.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1626, allocations: 11.98 kB / 490.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1627, allocations: 4 kB / 490.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1627, allocations: 3.984 kB / 490.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.1629, allocations: 178 kB / 490.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1629, allocations: 0 / 490.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.1633, allocations: 79.92 kB / 490.5 MB, free: 11.88 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.001105/0.1645, allocations: 0.818 MB / 491.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006582/0.1651, allocations: 184.2 kB / 491.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1651, allocations: 0 / 491.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.1654, allocations: 103.5 kB / 491.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1658, allocations: 24.95 kB / 491.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.1698, allocations: 3.344 MB / 495 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.1703, allocations: 0.7323 MB / 495.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.765e-05/0.1704, allocations: 21.48 kB / 495.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1705, allocations: 55.41 kB / 495.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.337e-06/0.1705, allocations: 4 kB / 495.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.1995, allocations: 6.081 MB / 0.4901 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.1998, allocations: 257.2 kB / 0.4903 GB, free: 256 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.216, allocations: 0 / 0.4903 GB, free: 256 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat