Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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 trunk/package.mo): time 0.001253/0.001253, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2344/0.2344, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 76.97 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.118, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00393/0.1219, allocations: 2.203 MB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1236, allocations: 1.098 MB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.1237, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.1241, allocations: 91.38 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1244, allocations: 87.31 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1247, allocations: 114.9 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1249, allocations: 186.8 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.125, allocations: 20.39 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.1251, allocations: 79.52 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1253, allocations: 87.44 kB / 484.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1253, allocations: 4 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.1258, allocations: 263.7 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.1258, allocations: 31.78 kB / 484.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.54e-05/0.1259, allocations: 75.42 kB / 484.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.1264, allocations: 334.6 kB / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1264, allocations: 0 / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1264, allocations: 4 kB / 484.9 MB, free: 448 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1264, allocations: 4 kB / 484.9 MB, free: 444 kB / 350.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.0007072/0.1271, allocations: 0.4934 MB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1271, allocations: 8.031 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.1272, allocations: 54.73 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.1273, allocations: 24.66 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1275, allocations: 215.9 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1275, allocations: 16.81 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.1276, allocations: 19.94 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.128, allocations: 231.2 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1281, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.1281, allocations: 12 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.1281, allocations: 4 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.1286, allocations: 241.6 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1296, allocations: 0.6235 MB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.1299, allocations: 102.5 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.13, allocations: 40.94 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1301, allocations: 4 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1301, allocations: 34.56 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1301, allocations: 0 / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005436/0.1307, allocations: 169.3 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1307, allocations: 51.78 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.131, allocations: 266.9 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.131, allocations: 33.64 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1312, allocations: 179.2 kB / 487.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1312, allocations: 35.5 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.1313, allocations: 53.59 kB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1314, allocations: 334.8 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1316, allocations: 47.95 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.1318, allocations: 140.8 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.1322, allocations: 208.6 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1323, allocations: 0 / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005052/0.1328, allocations: 233.1 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1328, allocations: 11.94 kB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1328, allocations: 7.938 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1328, allocations: 4 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.1332, allocations: 79.91 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000879/0.1341, allocations: 1.227 MB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1344, allocations: 31.69 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1344, allocations: 15.98 kB / 490.1 MB, free: 10.87 MB / 366.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.1345, allocations: 137.8 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.1346, allocations: 19.72 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.1351, allocations: 171.2 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1351, allocations: 4 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1351, allocations: 8 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.1351, allocations: 0 / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.1359, allocations: 448 kB / 490.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1359, allocations: 4 kB / 490.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.1362, allocations: 51.98 kB / 490.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.1362, allocations: 8.047 kB / 490.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1362, allocations: 7.984 kB / 490.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007739/0.137, allocations: 1.211 MB / 492.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.137, allocations: 4.031 kB / 492.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.1374, allocations: 253.1 kB / 492.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1375, allocations: 100.8 kB / 492.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.1376, allocations: 0 / 492.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1377, allocations: 4 kB / 492.5 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.1378, allocations: 16.17 kB / 492.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1378, allocations: 4 kB / 492.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.138, allocations: 193.8 kB / 492.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.138, allocations: 0 / 492.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1384, allocations: 67.94 kB / 492.8 MB, free: 8.02 MB / 366.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009259/0.1394, allocations: 0.8231 MB / 493.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000578/0.14, allocations: 179.7 kB / 493.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.14, allocations: 0.875 kB / 493.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.1403, allocations: 87.89 kB / 493.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1407, allocations: 23.97 kB / 493.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.1442, allocations: 2.56 MB / 496.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1447, allocations: 0.7323 MB / 497.2 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.584e-05/0.1448, allocations: 21.98 kB / 497.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1449, allocations: 59.42 kB / 497.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1449, allocations: 4 kB / 497.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.1783, allocations: 6.062 MB / 0.4915 GB, free: 13.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/11.99, allocations: 4.625 kB / 0.4915 GB, free: 13.45 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1)