Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.0009109/0.0009109, allocations: 96.84 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008822/0.000882, allocations: 183.6 kB / 17.88 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003507, allocations: 9.125 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002664/0.1349, allocations: 1.68 MB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1373, allocations: 1.489 MB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.1374, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.1378, allocations: 87.55 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1379, allocations: 59.8 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.1386, allocations: 274.8 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.1388, allocations: 115.7 kB / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.836e-05/0.1388, allocations: 12.31 kB / 475.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.1389, allocations: 47.67 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.327e-05/0.139, allocations: 59.64 kB / 475.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1391, allocations: 0 / 475.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.1402, allocations: 0.7491 MB / 476.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.1402, allocations: 23.91 kB / 476.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.1403, allocations: 53.58 kB / 476.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.1408, allocations: 323.3 kB / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1408, allocations: 0 / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1408, allocations: 0 / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1408, allocations: 0 / 476.5 MB, free: 8.648 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007142/0.1415, allocations: 498.9 kB / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1416, allocations: 8.031 kB / 477 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.643e-05/0.1417, allocations: 58.53 kB / 477.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.1417, allocations: 27.8 kB / 477.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.142, allocations: 209.6 kB / 477.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.142, allocations: 16.39 kB / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.142, allocations: 23.94 kB / 477.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.1425, allocations: 279.4 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1425, allocations: 0 / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1425, allocations: 4 kB / 477.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.1425, allocations: 8 kB / 477.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.1429, allocations: 168.2 kB / 477.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1439, allocations: 0.9042 MB / 478.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1441, allocations: 62.55 kB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1442, allocations: 0 / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1442, allocations: 34.56 kB / 478.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1442, allocations: 3.938 kB / 478.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005516/0.1448, allocations: 315.7 kB / 479.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1448, allocations: 51.41 kB / 479.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.1451, allocations: 262.9 kB / 479.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1451, allocations: 25.7 kB / 479.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1452, allocations: 190.8 kB / 479.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1453, allocations: 19.78 kB / 479.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.1453, allocations: 4 kB / 479.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1454, allocations: 334.8 kB / 480 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1455, allocations: 56.19 kB / 480 MB, free: 4.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.1458, allocations: 184.1 kB / 480.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.146, allocations: 80.09 kB / 480.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.146, allocations: 0 / 480.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000501/0.1465, allocations: 273.3 kB / 480.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1466, allocations: 8 kB / 480.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.1466, allocations: 19.92 kB / 480.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1466, allocations: 8 kB / 480.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1468, allocations: 47.92 kB / 480.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.1468, allocations: 15.92 kB / 480.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.147, allocations: 39.81 kB / 480.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.147, allocations: 16 kB / 480.7 MB, free: 4.102 MB / 350.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.0001303/0.1472, allocations: 138.2 kB / 480.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1472, allocations: 19.72 kB / 480.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.1477, allocations: 158.8 kB / 481 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1477, allocations: 0 / 481 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1477, allocations: 0 / 481 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1477, allocations: 4 kB / 481 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.1479, allocations: 221.5 kB / 481.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/0.148, allocations: 15.98 kB / 481.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.148, allocations: 8 kB / 481.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.148, allocations: 0 / 481.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.148, allocations: 7.984 kB / 481.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1481, allocations: 3.938 kB / 481.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1481, allocations: 0 / 481.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.1484, allocations: 207.3 kB / 481.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.1485, allocations: 104.8 kB / 481.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1485, allocations: 0 / 481.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1486, allocations: 8 kB / 481.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1487, allocations: 8.172 kB / 481.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1487, allocations: 8 kB / 481.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1488, allocations: 182 kB / 481.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1488, allocations: 0 / 481.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000515/0.1494, allocations: 95.94 kB / 481.9 MB, free: 2.832 MB / 350.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.0008973/0.1503, allocations: 0.837 MB / 482.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000475/0.1507, allocations: 203.7 kB / 482.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.1508, allocations: 4.812 kB / 482.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.151, allocations: 119.2 kB / 483 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1512, allocations: 20.88 kB / 483 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.1545, allocations: 4.598 MB / 487.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1548, allocations: 0.7404 MB / 488.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.934e-05/0.1549, allocations: 25.94 kB / 488.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.155, allocations: 63.41 kB / 488.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.155, allocations: 0 / 488.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.1866, allocations: 8.103 MB / 496.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004313/0.1872, allocations: 265.3 kB / 496.8 MB, free: 3.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.338, allocations: 0 / 496.8 MB, free: 3.82 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat