Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.001257/0.001257, allocations: 107.1 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001587, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7292/0.7292, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 65.62 kB / 0.568 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 77.92 MB / 0.6441 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002663/0.1298, allocations: 1.371 MB / 0.6455 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.1327, allocations: 1.787 MB / 0.6472 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.1328, allocations: 0 / 0.6472 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.257e-05/0.1329, allocations: 11.92 kB / 0.6472 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.1331, allocations: 31.89 kB / 0.6473 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.1358, allocations: 1.147 MB / 0.6484 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.136, allocations: 55.77 kB / 0.6484 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.136, allocations: 0 / 0.6484 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1361, allocations: 39.84 kB / 0.6485 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.1362, allocations: 23.91 kB / 0.6485 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1362, allocations: 4 kB / 0.6485 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.1377, allocations: 0.8891 MB / 0.6494 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.024e-05/0.1378, allocations: 67.75 kB / 0.6494 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.943e-05/0.1379, allocations: 67.38 kB / 0.6495 GB, free: 4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.1391, allocations: 0.8766 MB / 0.6503 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1391, allocations: 4 kB / 0.6503 GB, free: 3.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1391, allocations: 3.938 kB / 0.6504 GB, free: 3.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1391, allocations: 4 kB / 0.6504 GB, free: 3.109 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007005/0.1398, allocations: 0.5946 MB / 0.6509 GB, free: 2.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1399, allocations: 12.56 kB / 0.6509 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.1399, allocations: 46.73 kB / 0.651 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.14, allocations: 24.75 kB / 0.651 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1402, allocations: 222.9 kB / 0.6512 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-06/0.1402, allocations: 384 / 0.6512 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1403, allocations: 384 / 0.6512 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1404, allocations: 109.6 kB / 0.6513 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1404, allocations: 4 kB / 0.6513 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1404, allocations: 0 / 0.6513 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1405, allocations: 0 / 0.6513 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.865e-05/0.1406, allocations: 79.95 kB / 0.6514 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.1408, allocations: 277.9 kB / 0.6517 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.141, allocations: 122.5 kB / 0.6518 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.1411, allocations: 112.8 kB / 0.6519 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1411, allocations: 3.938 kB / 0.6519 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1411, allocations: 38.56 kB / 0.6519 GB, free: 1.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.353e-06/0.1411, allocations: 0 / 0.6519 GB, free: 1.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004077/0.1416, allocations: 337.9 kB / 0.6523 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1416, allocations: 51.41 kB / 0.6523 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.1418, allocations: 252.9 kB / 0.6526 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.1418, allocations: 25.7 kB / 0.6526 GB, free: 0.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.1419, allocations: 132.7 kB / 0.6527 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.142, allocations: 111 kB / 0.6528 GB, free: 392 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.142, allocations: 33.7 kB / 0.6528 GB, free: 352 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1422, allocations: 338.8 kB / 0.6532 GB, free: 4 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.1423, allocations: 75.97 kB / 0.6532 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.1423, allocations: 71.97 kB / 0.6533 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1425, allocations: 201.8 kB / 0.6535 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1425, allocations: 0 / 0.6535 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002251/0.1427, allocations: 229.4 kB / 0.6537 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.1428, allocations: 4 kB / 0.6537 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1428, allocations: 4.062 kB / 0.6537 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1428, allocations: 3.984 kB / 0.6537 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1428, allocations: 3.938 kB / 0.6537 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1428, allocations: 4 kB / 0.6537 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.1429, allocations: 11.83 kB / 0.6538 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1429, allocations: 0 / 0.6538 GB, free: 15.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.143, allocations: 161.7 kB / 0.6539 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.1431, allocations: 27.75 kB / 0.6539 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.1433, allocations: 248.5 kB / 0.6542 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1434, allocations: 4.031 kB / 0.6542 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1434, allocations: 0 / 0.6542 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1434, allocations: 0 / 0.6542 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1436, allocations: 289.8 kB / 0.6544 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.1436, allocations: 0 / 0.6544 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.1436, allocations: 0 / 0.6544 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1436, allocations: 0 / 0.6544 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1436, allocations: 4 kB / 0.6545 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1436, allocations: 0 / 0.6545 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1436, allocations: 3.938 kB / 0.6545 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1439, allocations: 268.8 kB / 0.6547 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.144, allocations: 104.9 kB / 0.6548 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.144, allocations: 0 / 0.6548 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.144, allocations: 0 / 0.6548 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.144, allocations: 7.969 kB / 0.6548 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1441, allocations: 0 / 0.6548 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001578/0.1442, allocations: 188.5 kB / 0.655 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1442, allocations: 0 / 0.655 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005988/0.1448, allocations: 215.4 kB / 0.6552 GB, free: 13.8 MB / 0.4981 GB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.1461, allocations: 1.041 MB / 0.6562 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.1464, allocations: 269.6 kB / 0.6565 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1464, allocations: 0 / 0.6565 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1465, allocations: 177.6 kB / 0.6566 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.1468, allocations: 24.66 kB / 0.6567 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.1492, allocations: 2.583 MB / 0.6592 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1496, allocations: 0.7671 MB / 0.6599 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.1496, allocations: 4 kB / 0.6599 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.1497, allocations: 56.28 kB / 0.66 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1497, allocations: 0 / 0.66 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.1744, allocations: 7.713 MB / 0.6675 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/8.712, allocations: 16.16 kB / 0.6675 GB, free: 1.215 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)