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.001354/0.001354, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2384/0.2384, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002291/0.002291, allocations: 83.11 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1183, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003574/0.1219, allocations: 2.192 MB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1236, allocations: 1.106 MB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.1237, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.124, allocations: 79.45 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1243, allocations: 95.25 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1246, allocations: 115.5 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1248, allocations: 182.9 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.1249, allocations: 16.39 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1251, allocations: 79.52 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1252, allocations: 87.44 kB / 484.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1253, allocations: 4 kB / 484.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.1257, allocations: 267.6 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.1258, allocations: 31.78 kB / 484.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.23e-05/0.1259, allocations: 75.48 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.1264, allocations: 334.5 kB / 484.9 MB, free: 476 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1264, allocations: 8 kB / 484.9 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1264, allocations: 0 / 484.9 MB, free: 468 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1264, allocations: 0 / 484.9 MB, free: 468 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.0006957/0.1271, allocations: 0.4912 MB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1271, allocations: 12.03 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.1272, allocations: 50.73 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1273, allocations: 24.66 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1275, allocations: 216 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1276, allocations: 16.81 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.1276, allocations: 31.94 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.1281, allocations: 219.3 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1281, allocations: 3.938 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1281, allocations: 8 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1281, allocations: 4 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.1286, allocations: 249.6 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.1297, allocations: 0.6235 MB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.13, allocations: 94.61 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1301, allocations: 48.88 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1302, allocations: 0 / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1302, allocations: 34.56 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1302, allocations: 0 / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005482/0.1308, allocations: 165.3 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.1308, allocations: 59.33 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1311, allocations: 266.9 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1311, allocations: 34.08 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1313, allocations: 175.3 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.1313, allocations: 27.56 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.1314, allocations: 49.61 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1315, allocations: 342.7 kB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1317, allocations: 47.95 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.1319, allocations: 148.8 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.1323, allocations: 204.6 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1323, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004893/0.1328, allocations: 237 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1329, allocations: 8 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1329, allocations: 4 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1329, allocations: 4 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.1333, allocations: 80.34 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008507/0.1342, allocations: 1.226 MB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1344, allocations: 31.69 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.1344, allocations: 12 kB / 490.1 MB, free: 10.9 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.0001399/0.1346, allocations: 141.8 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.1346, allocations: 19.72 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.1351, allocations: 171.2 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1351, allocations: 4 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1351, allocations: 0 / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1351, allocations: 3.984 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.1358, allocations: 444 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1358, allocations: 4 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.1361, allocations: 63.97 kB / 490.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1361, allocations: 0 / 490.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1361, allocations: 8 kB / 490.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00077/0.1369, allocations: 1.219 MB / 492.1 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1369, allocations: 4.188 kB / 492.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.1373, allocations: 248.8 kB / 492.4 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.1374, allocations: 96.83 kB / 492.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1374, allocations: 3.984 kB / 492.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.1376, allocations: 8 kB / 492.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.1377, allocations: 11.98 kB / 492.5 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1377, allocations: 4 kB / 492.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.1379, allocations: 190.1 kB / 492.7 MB, free: 8.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1379, allocations: 0 / 492.7 MB, free: 8.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.1383, allocations: 67.88 kB / 492.7 MB, free: 8.047 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.0008552/0.1391, allocations: 0.8309 MB / 493.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005702/0.1397, allocations: 172.3 kB / 493.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1397, allocations: 192 / 493.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.14, allocations: 87.89 kB / 493.8 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1404, allocations: 27.97 kB / 493.9 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.1438, allocations: 2.563 MB / 496.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1442, allocations: 0.7285 MB / 497.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.526e-05/0.1443, allocations: 25.97 kB / 497.2 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.1444, allocations: 59.42 kB / 497.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1444, allocations: 0 / 497.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.1758, allocations: 6.065 MB / 0.4915 GB, free: 13.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.04, allocations: 7.672 kB / 0.4915 GB, free: 13.47 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)