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_flatTube_KC.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_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.00108/0.00108, allocations: 88.19 kB / 15.7 MB, free: 460 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.001351/0.001351, allocations: 174 kB / 16.58 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.434/1.434, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.3085/0.3085, allocations: 43.55 MB / 314.6 MB, free: 8.797 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.000597/0.0005971, allocations: 20 kB / 384 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.108, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002117/0.1102, allocations: 1.833 MB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1115, allocations: 1.014 MB / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.1116, allocations: 3.938 kB / 445.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.1118, allocations: 67.59 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1121, allocations: 75.45 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1123, allocations: 99.64 kB / 446 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.1125, allocations: 178.9 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.1126, allocations: 20.38 kB / 446.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1127, allocations: 63.66 kB / 446.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1128, allocations: 87.48 kB / 446.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1128, allocations: 4 kB / 446.3 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.1132, allocations: 239.7 kB / 446.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.1132, allocations: 27.78 kB / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.1133, allocations: 57.58 kB / 446.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1135, allocations: 223.2 kB / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1135, allocations: 0 / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1136, allocations: 0 / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1136, allocations: 0 / 446.9 MB, free: 8.934 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004869/0.1141, allocations: 474.9 kB / 447.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1141, allocations: 8.031 kB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.1142, allocations: 58.55 kB / 447.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.1142, allocations: 31.67 kB / 447.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1144, allocations: 206.7 kB / 447.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1144, allocations: 16.44 kB / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1144, allocations: 20 kB / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.1148, allocations: 231.2 kB / 447.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1148, allocations: 3.938 kB / 447.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1149, allocations: 8 kB / 447.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1149, allocations: 4 kB / 447.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.1153, allocations: 261.6 kB / 448.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.1161, allocations: 0.6157 MB / 448.8 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1164, allocations: 102.6 kB / 448.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1165, allocations: 52.84 kB / 448.9 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1165, allocations: 3.984 kB / 448.9 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1166, allocations: 38.55 kB / 449 MB, free: 6.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1166, allocations: 0 / 449 MB, free: 6.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000471/0.1171, allocations: 185.2 kB / 449.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.1171, allocations: 55.36 kB / 449.2 MB, free: 6.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1174, allocations: 266.9 kB / 449.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1174, allocations: 29.7 kB / 449.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1175, allocations: 167.3 kB / 449.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1175, allocations: 35.55 kB / 449.7 MB, free: 5.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.1175, allocations: 8 kB / 449.7 MB, free: 5.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1177, allocations: 330.8 kB / 450 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1178, allocations: 47.97 kB / 450.1 MB, free: 5.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.118, allocations: 160.7 kB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1182, allocations: 71.92 kB / 450.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1182, allocations: 4 kB / 450.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004179/0.1186, allocations: 241.5 kB / 450.5 MB, free: 4.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1187, allocations: 4 kB / 450.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1187, allocations: 4 kB / 450.6 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1187, allocations: 15.97 kB / 450.6 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.119, allocations: 79.91 kB / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006412/0.1197, allocations: 1.226 MB / 451.9 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.1199, allocations: 39.61 kB / 451.9 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1199, allocations: 16 kB / 451.9 MB, free: 3.559 MB / 382.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.12, allocations: 137.9 kB / 452.1 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.1201, allocations: 19.72 kB / 452.1 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.1205, allocations: 183.6 kB / 452.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1205, allocations: 7.938 kB / 452.3 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1205, allocations: 0 / 452.3 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1205, allocations: 0 / 452.3 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.1211, allocations: 467.9 kB / 452.7 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1211, allocations: 0 / 452.7 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.1213, allocations: 59.97 kB / 452.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1213, allocations: 0 / 452.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1214, allocations: 4 kB / 452.8 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005845/0.122, allocations: 1.215 MB / 454 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.122, allocations: 0 / 454 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1223, allocations: 265.1 kB / 454.3 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.1224, allocations: 92.83 kB / 454.4 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1224, allocations: 8 kB / 454.4 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1226, allocations: 11.98 kB / 454.4 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1226, allocations: 11.98 kB / 454.4 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1226, allocations: 8 kB / 454.4 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1228, allocations: 182 kB / 454.6 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1228, allocations: 0 / 454.6 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.1231, allocations: 64 kB / 454.6 MB, free: 0.6914 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1767/0.2999, allocations: 0.8349 MB / 455.5 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.3005, allocations: 182.7 kB / 455.6 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3005, allocations: 0.875 kB / 455.6 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.3008, allocations: 85.33 kB / 455.7 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3012, allocations: 26.45 kB / 455.8 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.3028, allocations: 1.381 MB / 457.1 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3029, allocations: 0.7305 MB / 457.9 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.388e-05/0.303, allocations: 21.05 kB / 457.9 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.3031, allocations: 60.94 kB / 457.9 MB, free: 45.03 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3031, allocations: 3.969 kB / 458 MB, free: 45.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.601/1.904, allocations: 5.542 MB / 463.5 MB, free: 44.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.905, allocations: 271.1 kB / 463.8 MB, free: 44.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/3.83, allocations: 0 / 463.8 MB, free: 44.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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_flatTube_KC_res.mat does not exist to compare? outputFormat=mat