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_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.001281/0.001281, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2411/0.2411, allocations: 46.12 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.002335/0.002335, allocations: 82.42 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1148, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004206/0.1191, allocations: 2.691 MB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1216, allocations: 1.472 MB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1217, allocations: 0 / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1221, allocations: 115.2 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.1225, allocations: 134.8 kB / 484.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.1231, allocations: 259.1 kB / 484.9 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1235, allocations: 282.1 kB / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.705e-05/0.1236, allocations: 28.67 kB / 485.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1237, allocations: 91.41 kB / 485.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.1239, allocations: 131.1 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.124, allocations: 8 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.125, allocations: 0.6046 MB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.1251, allocations: 43.66 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1253, allocations: 127 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007773/0.1261, allocations: 0.5566 MB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1261, allocations: 0 / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1261, allocations: 3.938 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.1261, allocations: 0 / 486.8 MB, free: 14.57 MB / 366.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.00089/0.127, allocations: 0.6279 MB / 487.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.127, allocations: 12.03 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.1271, allocations: 74.7 kB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.1272, allocations: 44.38 kB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.1275, allocations: 239.8 kB / 487.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1276, allocations: 29.31 kB / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.1276, allocations: 39.94 kB / 487.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/0.1284, allocations: 0.5687 MB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.1285, allocations: 11.94 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.1285, allocations: 23.98 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.1286, allocations: 12 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.1291, allocations: 325 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.1322, allocations: 4.054 MB / 492.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1325, allocations: 90.53 kB / 492.9 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1326, allocations: 40.91 kB / 492.9 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1327, allocations: 4 kB / 492.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1327, allocations: 30.56 kB / 493 MB, free: 7.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1327, allocations: 0 / 493 MB, free: 7.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006053/0.1333, allocations: 169.2 kB / 493.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1334, allocations: 55.41 kB / 493.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.1339, allocations: 409.7 kB / 493.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1339, allocations: 29.7 kB / 493.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.1341, allocations: 250.9 kB / 493.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1342, allocations: 27.64 kB / 493.9 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1343, allocations: 65.94 kB / 493.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1345, allocations: 358.7 kB / 494.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.1347, allocations: 60.55 kB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.1351, allocations: 263.3 kB / 494.6 MB, free: 6.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.1357, allocations: 355.8 kB / 495 MB, free: 5.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1357, allocations: 4 kB / 495 MB, free: 5.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006842/0.1364, allocations: 341.4 kB / 495.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1364, allocations: 12.03 kB / 495.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.1365, allocations: 11.98 kB / 495.3 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.1365, allocations: 12 kB / 495.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.137, allocations: 111.8 kB / 495.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009398/0.1379, allocations: 1.223 MB / 496.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.1383, allocations: 59.28 kB / 496.7 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.1383, allocations: 24 kB / 496.7 MB, free: 3.812 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001766/0.1385, allocations: 150.3 kB / 496.9 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.1386, allocations: 39.47 kB / 496.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.1391, allocations: 173 kB / 497.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1391, allocations: 4 kB / 497.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1391, allocations: 3.938 kB / 497.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1391, allocations: 0 / 497.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.1395, allocations: 277.4 kB / 497.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1395, allocations: 4 kB / 497.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.1398, allocations: 59.91 kB / 497.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1398, allocations: 0 / 497.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1398, allocations: 0 / 497.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007986/0.1406, allocations: 1.207 MB / 498.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.1406, allocations: 7.969 kB / 498.7 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.141, allocations: 235.5 kB / 498.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.1412, allocations: 108.6 kB / 499 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.1412, allocations: 3.938 kB / 499 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1414, allocations: 8.094 kB / 499 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.1415, allocations: 11.98 kB / 499 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1415, allocations: 4 kB / 499 MB, free: 1.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.1418, allocations: 271.1 kB / 499.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1418, allocations: 0 / 499.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005504/0.1423, allocations: 108 kB / 499.4 MB, free: 1.02 MB / 366.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 (7): * Single equations (assignments): 5 * 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.001058/0.1434, allocations: 0.8641 MB / 0.4885 GB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006724/0.1441, allocations: 205.2 kB / 0.4887 GB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1441, allocations: 384 / 0.4887 GB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.1444, allocations: 87.83 kB / 0.4888 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1449, allocations: 33.95 kB / 0.4888 GB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.1495, allocations: 3.466 MB / 0.4922 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.1499, allocations: 0.7716 MB / 0.493 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.1501, allocations: 38.95 kB / 0.493 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.1503, allocations: 99.41 kB / 0.4931 GB, free: 11.14 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1503, allocations: 0 / 0.4931 GB, free: 11.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04693/0.1972, allocations: 9.959 MB / 0.5028 GB, free: 1.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.2, allocations: 16.73 kB / 0.5029 GB, free: 1.395 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1)