Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 96.83 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 173.6 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4381/0.4381, allocations: 43.54 MB / 314.5 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004995, allocations: 12 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1518, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003397/0.1553, allocations: 2.139 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1581, allocations: 1.623 MB / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.1583, allocations: 0 / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.1587, allocations: 87.53 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.159, allocations: 123.6 kB / 446.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.1598, allocations: 275.2 kB / 447.1 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.1602, allocations: 203.5 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.1603, allocations: 28.72 kB / 447.3 MB, free: 8.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1604, allocations: 87.52 kB / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1605, allocations: 91.39 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1605, allocations: 8 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.1618, allocations: 0.7607 MB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.1619, allocations: 39.77 kB / 448.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.162, allocations: 73.52 kB / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.1626, allocations: 415 kB / 448.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1626, allocations: 0 / 448.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1626, allocations: 0 / 448.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1626, allocations: 0 / 448.8 MB, free: 6.984 MB / 382.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.000889/0.1635, allocations: 0.5926 MB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1635, allocations: 12.03 kB / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.445e-05/0.1636, allocations: 70.53 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.1637, allocations: 43.38 kB / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.164, allocations: 234.6 kB / 449.7 MB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.1641, allocations: 25 kB / 449.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.1641, allocations: 32 kB / 449.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.1647, allocations: 370.5 kB / 450.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1647, allocations: 0 / 450.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.1648, allocations: 23.89 kB / 450.2 MB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.1648, allocations: 8 kB / 450.2 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.1653, allocations: 267.9 kB / 450.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.1669, allocations: 0.8923 MB / 451.3 MB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.1672, allocations: 94.48 kB / 451.4 MB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.1673, allocations: 7.969 kB / 451.4 MB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1673, allocations: 38.62 kB / 451.5 MB, free: 4.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1673, allocations: 0 / 451.5 MB, free: 4.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007575/0.1681, allocations: 0.5054 MB / 452 MB, free: 3.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1681, allocations: 59.39 kB / 452 MB, free: 3.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.1686, allocations: 397.8 kB / 452.4 MB, free: 3.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1686, allocations: 29.7 kB / 452.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.1689, allocations: 247 kB / 452.7 MB, free: 2.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.1689, allocations: 31.55 kB / 452.7 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.169, allocations: 8 kB / 452.7 MB, free: 2.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002826/0.1692, allocations: 350.8 kB / 453.1 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1694, allocations: 64.23 kB / 453.1 MB, free: 2.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.1698, allocations: 250 kB / 453.4 MB, free: 1.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1701, allocations: 99.91 kB / 453.5 MB, free: 1.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1701, allocations: 0 / 453.5 MB, free: 1.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007074/0.1708, allocations: 352.8 kB / 453.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.1709, allocations: 8 kB / 453.8 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.245e-05/0.1709, allocations: 23.98 kB / 453.9 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/0.171, allocations: 15.98 kB / 453.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.1712, allocations: 60.47 kB / 453.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.1713, allocations: 15.94 kB / 453.9 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.1716, allocations: 67.27 kB / 454 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.1716, allocations: 27.95 kB / 454 MB, free: 1.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002274/0.1719, allocations: 149.6 kB / 454.2 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.1719, allocations: 35.81 kB / 454.2 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/0.1726, allocations: 220.6 kB / 454.4 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.1726, allocations: 3.984 kB / 454.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1726, allocations: 4 kB / 454.4 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.1726, allocations: 0 / 454.4 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.1731, allocations: 289.5 kB / 454.7 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.051e-05/0.1732, allocations: 24 kB / 454.8 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.1732, allocations: 15.92 kB / 454.8 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1732, allocations: 0 / 454.8 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1733, allocations: 8 kB / 454.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1733, allocations: 0 / 454.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1733, allocations: 0 / 454.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.1738, allocations: 270.9 kB / 455 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1739, allocations: 112.6 kB / 455.1 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.174, allocations: 0 / 455.1 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1741, allocations: 4 kB / 455.2 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.1742, allocations: 11.98 kB / 455.2 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1742, allocations: 8 kB / 455.2 MB, free: 104 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2562/0.4305, allocations: 265.1 kB / 455.4 MB, free: 46.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.4305, allocations: 0 / 455.4 MB, free: 46.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008722/0.4314, allocations: 123.4 kB / 455.6 MB, free: 46.23 MB / 382.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001074/0.4325, allocations: 0.8792 MB / 456.4 MB, free: 45.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006262/0.4331, allocations: 322.5 kB / 456.7 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4331, allocations: 0 / 456.7 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.4334, allocations: 192.2 kB / 456.9 MB, free: 45.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4338, allocations: 36.27 kB / 457 MB, free: 45.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.437, allocations: 6.378 MB / 463.3 MB, free: 40.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.4372, allocations: 0.7864 MB / 464.1 MB, free: 39.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.4373, allocations: 31.64 kB / 464.2 MB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4374, allocations: 106.3 kB / 464.3 MB, free: 39.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4374, allocations: 0 / 464.3 MB, free: 39.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.464, allocations: 10.85 MB / 475.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.4643, allocations: 253.8 kB / 475.4 MB, free: 38.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/2.903, allocations: 0 / 475.4 MB, free: 38.24 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat