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.001136/0.001136, allocations: 96.14 kB / 15.87 MB, free: 16 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.001063/0.001063, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.39/1.39, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.3018/0.3018, allocations: 43.5 MB / 313.5 MB, free: 8.32 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.001321/0.001321, allocations: 67.91 kB / 382.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 57.77 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003303/0.1055, allocations: 2.705 MB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.1078, allocations: 1.878 MB / 444.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.1079, allocations: 4 kB / 444.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1082, allocations: 107.3 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1084, allocations: 95.12 kB / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.109, allocations: 279.1 kB / 445 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.1092, allocations: 274.2 kB / 445.3 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.1093, allocations: 28.72 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.1094, allocations: 95.28 kB / 445.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1095, allocations: 111.2 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1095, allocations: 4 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009187/0.1104, allocations: 0.7606 MB / 446.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1105, allocations: 39.72 kB / 446.3 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1106, allocations: 135 kB / 446.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.1113, allocations: 0.6929 MB / 447.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1113, allocations: 0 / 447.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1113, allocations: 0 / 447.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1113, allocations: 0 / 447.1 MB, free: 7.297 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.000684/0.112, allocations: 0.6433 MB / 447.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1121, allocations: 8.031 kB / 447.8 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.1121, allocations: 70.72 kB / 447.8 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.1122, allocations: 40.47 kB / 447.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1124, allocations: 251.4 kB / 448.1 MB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1124, allocations: 33.31 kB / 448.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.1125, allocations: 35.94 kB / 448.2 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.113, allocations: 366.5 kB / 448.5 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.113, allocations: 0 / 448.5 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.113, allocations: 12 kB / 448.6 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.113, allocations: 12 kB / 448.6 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.1134, allocations: 259.9 kB / 448.8 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.1145, allocations: 0.9 MB / 449.7 MB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1147, allocations: 86.53 kB / 449.8 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1149, allocations: 40.91 kB / 449.8 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.1149, allocations: 12.08 kB / 449.9 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.115, allocations: 38.5 kB / 449.9 MB, free: 4.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.115, allocations: 0 / 449.9 MB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005131/0.1155, allocations: 181.2 kB / 450.1 MB, free: 4.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.1155, allocations: 55.34 kB / 450.1 MB, free: 4.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.1159, allocations: 405.8 kB / 450.5 MB, free: 3.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1159, allocations: 25.7 kB / 450.5 MB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.116, allocations: 255 kB / 450.8 MB, free: 3.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1161, allocations: 31.55 kB / 450.8 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.1161, allocations: 69.89 kB / 450.9 MB, free: 3.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1162, allocations: 350.7 kB / 451.2 MB, free: 2.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.1164, allocations: 60.23 kB / 451.3 MB, free: 2.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.1167, allocations: 250.9 kB / 451.5 MB, free: 2.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.1171, allocations: 341.6 kB / 451.9 MB, free: 2.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1171, allocations: 7.938 kB / 451.9 MB, free: 2.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005461/0.1177, allocations: 341.2 kB / 452.2 MB, free: 1.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1177, allocations: 8 kB / 452.2 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-05/0.1177, allocations: 36.03 kB / 452.3 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1178, allocations: 11.98 kB / 452.3 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1179, allocations: 55.91 kB / 452.3 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.118, allocations: 15.92 kB / 452.3 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1182, allocations: 55.38 kB / 452.4 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.1182, allocations: 24 kB / 452.4 MB, free: 1.566 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.1183, allocations: 153.6 kB / 452.6 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.1184, allocations: 35.53 kB / 452.6 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.1189, allocations: 208.8 kB / 452.8 MB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1189, allocations: 4 kB / 452.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1189, allocations: 0 / 452.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1189, allocations: 0 / 452.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.1192, allocations: 289.3 kB / 453.1 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/0.1192, allocations: 20 kB / 453.1 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.1193, allocations: 11.98 kB / 453.1 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1193, allocations: 3.938 kB / 453.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1193, allocations: 4 kB / 453.1 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1193, allocations: 4 kB / 453.1 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1193, allocations: 0 / 453.1 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.1197, allocations: 251 kB / 453.4 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.1198, allocations: 104.7 kB / 453.5 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.1198, allocations: 0 / 453.5 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1199, allocations: 8.234 kB / 453.5 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.12, allocations: 15.94 kB / 453.5 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.12, allocations: 12 kB / 453.5 MB, free: 376 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.1202, allocations: 271.1 kB / 453.8 MB, free: 108 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1202, allocations: 3.938 kB / 453.8 MB, free: 104 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.1747/0.295, allocations: 135.9 kB / 453.9 MB, free: 48.87 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000961/0.296, allocations: 0.8574 MB / 454.8 MB, free: 48.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005595/0.2965, allocations: 311.3 kB / 455.1 MB, free: 48.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2966, allocations: 0 / 455.1 MB, free: 48.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.2968, allocations: 184.1 kB / 455.3 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.2973, allocations: 47.22 kB / 455.3 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.3003, allocations: 3.587 MB / 458.9 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.3005, allocations: 0.7763 MB / 459.7 MB, free: 45.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.3006, allocations: 35.97 kB / 459.7 MB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.3007, allocations: 105.9 kB / 459.8 MB, free: 45.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3007, allocations: 0 / 459.8 MB, free: 45.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3211, allocations: 11.38 MB / 471.2 MB, free: 44.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.3213, allocations: 283.9 kB / 471.5 MB, free: 43.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.364, allocations: 0 / 471.5 MB, free: 43.91 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/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) 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