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.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,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0008724/0.0008724, allocations: 96.7 kB / 15.7 MB, free: 468 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.0009825/0.0009825, allocations: 176.1 kB / 16.58 MB, free: 6.062 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.398/1.398, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.324/0.324, allocations: 43.55 MB / 314.6 MB, free: 8.773 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.0004824/0.0004825, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, 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_flatTube): time 0.001817/0.1142, allocations: 1.775 MB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1157, allocations: 1.299 MB / 446 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.1157, allocations: 4 kB / 446 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1159, allocations: 67.58 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.1161, allocations: 59.48 kB / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1164, allocations: 163.4 kB / 446.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.1166, allocations: 151 kB / 446.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.1166, allocations: 24.28 kB / 446.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.1167, allocations: 51.67 kB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.1168, allocations: 59.64 kB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1168, allocations: 4 kB / 446.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.1173, allocations: 403.4 kB / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.1174, allocations: 19.86 kB / 447 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.1174, allocations: 53.58 kB / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1177, allocations: 275.1 kB / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1177, allocations: 0 / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1177, allocations: 7.922 kB / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1178, allocations: 4 kB / 447.3 MB, free: 8.516 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004784/0.1182, allocations: 474.5 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1183, allocations: 8.031 kB / 447.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.1183, allocations: 58.48 kB / 447.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.1184, allocations: 27.67 kB / 447.8 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.1185, allocations: 206.7 kB / 448 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1186, allocations: 16 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1186, allocations: 20 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1189, allocations: 206.4 kB / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1189, allocations: 0 / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.119, allocations: 12 kB / 448.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.119, allocations: 4 kB / 448.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.1192, allocations: 164.1 kB / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.1199, allocations: 0.5676 MB / 449 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1201, allocations: 70.55 kB / 449.1 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.1202, allocations: 36.94 kB / 449.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1202, allocations: 0 / 449.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1202, allocations: 38.56 kB / 449.2 MB, free: 6.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1203, allocations: 0 / 449.2 MB, free: 6.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003892/0.1206, allocations: 145.3 kB / 449.3 MB, free: 6.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.1207, allocations: 67.34 kB / 449.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1209, allocations: 254.7 kB / 449.6 MB, free: 5.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1209, allocations: 25.7 kB / 449.7 MB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.121, allocations: 159.7 kB / 449.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.121, allocations: 23.7 kB / 449.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.121, allocations: 4 kB / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1212, allocations: 330.8 kB / 450.2 MB, free: 5.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1213, allocations: 39.97 kB / 450.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.1214, allocations: 140.8 kB / 450.3 MB, free: 5.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1216, allocations: 55.97 kB / 450.4 MB, free: 5.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1216, allocations: 4 kB / 450.4 MB, free: 5.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003496/0.1219, allocations: 209.3 kB / 450.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.122, allocations: 8 kB / 450.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.122, allocations: 12.44 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.122, allocations: 8 kB / 450.6 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1221, allocations: 35.88 kB / 450.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.1222, allocations: 11.92 kB / 450.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1223, allocations: 39.59 kB / 450.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1223, allocations: 11.94 kB / 450.7 MB, free: 4.809 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 (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.0001186/0.1225, allocations: 137.7 kB / 450.9 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.1225, allocations: 19.81 kB / 450.9 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.1228, allocations: 154.7 kB / 451 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1229, allocations: 4 kB / 451 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1229, allocations: 7.891 kB / 451 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1229, allocations: 0 / 451 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1231, allocations: 217.6 kB / 451.3 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.1231, allocations: 8 kB / 451.3 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.1232, allocations: 11.98 kB / 451.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1232, allocations: 4 kB / 451.3 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1232, allocations: 0 / 451.3 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1232, allocations: 4 kB / 451.3 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1232, allocations: 0 / 451.3 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1235, allocations: 219.1 kB / 451.5 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.1236, allocations: 96.91 kB / 451.6 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1236, allocations: 0 / 451.6 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.1237, allocations: 11.98 kB / 451.6 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1237, allocations: 4 kB / 451.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1237, allocations: 0 / 451.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1239, allocations: 186 kB / 451.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1239, allocations: 0 / 451.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.1242, allocations: 79.89 kB / 451.9 MB, free: 3.559 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 (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.0006462/0.1249, allocations: 0.8136 MB / 452.7 MB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.1253, allocations: 184 kB / 452.9 MB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1253, allocations: 0 / 452.9 MB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1255, allocations: 111.7 kB / 453 MB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1258, allocations: 20.83 kB / 453 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1274, allocations: 1.264 MB / 454.2 MB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1277, allocations: 0.7281 MB / 455 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.679e-05/0.1277, allocations: 17.55 kB / 455 MB, free: 268 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.1278, allocations: 59.42 kB / 455.1 MB, free: 208 kB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1278, allocations: 0 / 455.1 MB, free: 208 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.905/2.033, allocations: 6.168 MB / 461.2 MB, free: 45.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/2.033, allocations: 263.6 kB / 461.5 MB, free: 44.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/4.101, allocations: 3.75 kB / 461.5 MB, free: 44.91 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_res.mat does not exist to compare? outputFormat=mat