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.001304/0.001304, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001343/0.001343, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6815/0.6815, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.78 kB / 0.5573 GB, free: 32.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 76.19 MB / 0.6317 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002053/0.1313, allocations: 1.358 MB / 0.633 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.1338, allocations: 1.802 MB / 0.6347 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.1338, allocations: 0 / 0.6347 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.914e-05/0.1339, allocations: 15.92 kB / 0.6348 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1341, allocations: 31.88 kB / 0.6348 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.1364, allocations: 1.148 MB / 0.6359 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.1365, allocations: 47.78 kB / 0.636 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.1366, allocations: 4 kB / 0.636 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.1367, allocations: 27.84 kB / 0.636 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.1367, allocations: 39.89 kB / 0.636 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1367, allocations: 0 / 0.636 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1378, allocations: 0.8813 MB / 0.6369 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.1379, allocations: 67.81 kB / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.1379, allocations: 71.36 kB / 0.637 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008424/0.1388, allocations: 0.8804 MB / 0.6379 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1388, allocations: 0 / 0.6379 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1388, allocations: 0 / 0.6379 GB, free: 14.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1388, allocations: 0 / 0.6379 GB, free: 14.62 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.0005932/0.1394, allocations: 0.5839 MB / 0.6385 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1395, allocations: 12.03 kB / 0.6385 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.1395, allocations: 38.75 kB / 0.6385 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.1395, allocations: 20.66 kB / 0.6385 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1397, allocations: 234.6 kB / 0.6387 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-06/0.1397, allocations: 4.375 kB / 0.6387 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1398, allocations: 384 / 0.6387 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1399, allocations: 109.6 kB / 0.6389 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1399, allocations: 4 kB / 0.6389 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1399, allocations: 4 kB / 0.6389 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1399, allocations: 0 / 0.6389 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.596e-05/0.14, allocations: 75.97 kB / 0.6389 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.1402, allocations: 277.8 kB / 0.6392 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.1403, allocations: 122.5 kB / 0.6393 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.1404, allocations: 104.9 kB / 0.6394 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1405, allocations: 7.938 kB / 0.6394 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1405, allocations: 38.56 kB / 0.6395 GB, free: 12.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 9.52e-07/0.1405, allocations: 0 / 0.6395 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003438/0.1408, allocations: 326.7 kB / 0.6398 GB, free: 12.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1409, allocations: 55.39 kB / 0.6398 GB, free: 12.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1411, allocations: 257 kB / 0.6401 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1411, allocations: 25.7 kB / 0.6401 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.1412, allocations: 128.6 kB / 0.6402 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.1412, allocations: 110.3 kB / 0.6403 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1413, allocations: 33.73 kB / 0.6404 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.1414, allocations: 342.8 kB / 0.6407 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.1414, allocations: 67.97 kB / 0.6407 GB, free: 11.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.1415, allocations: 79.95 kB / 0.6408 GB, free: 11.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1417, allocations: 196.8 kB / 0.641 GB, free: 11.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1417, allocations: 0 / 0.641 GB, free: 11.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001985/0.1419, allocations: 229.5 kB / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1419, allocations: 4 kB / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.1419, allocations: 4 kB / 0.6412 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1419, allocations: 8.047 kB / 0.6412 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-06/0.1419, allocations: 0 / 0.6412 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.142, allocations: 3.938 kB / 0.6412 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.142, allocations: 11.78 kB / 0.6413 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.142, allocations: 4 kB / 0.6413 GB, free: 10.93 MB / 494.1 MB 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.0001028/0.1421, allocations: 153.8 kB / 0.6414 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1421, allocations: 31.5 kB / 0.6414 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1424, allocations: 252.4 kB / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1424, allocations: 32 / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1424, allocations: 4 kB / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1424, allocations: 0 / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1426, allocations: 281.8 kB / 0.642 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1426, allocations: 0 / 0.642 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.1426, allocations: 7.984 kB / 0.642 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1426, allocations: 0 / 0.642 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1426, allocations: 0 / 0.642 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1427, allocations: 0 / 0.642 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1427, allocations: 0 / 0.642 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1429, allocations: 268.5 kB / 0.6422 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1429, allocations: 100.8 kB / 0.6423 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.143, allocations: 0 / 0.6423 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.318e-05/0.143, allocations: 7.938 kB / 0.6423 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.143, allocations: 0 / 0.6423 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.143, allocations: 4 kB / 0.6423 GB, free: 9.727 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1432, allocations: 192.4 kB / 0.6425 GB, free: 9.535 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1432, allocations: 0 / 0.6425 GB, free: 9.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.1437, allocations: 207.9 kB / 0.6427 GB, free: 9.332 MB / 494.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 (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.0009943/0.1447, allocations: 1.041 MB / 0.6437 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1449, allocations: 257.6 kB / 0.644 GB, free: 8.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1449, allocations: 8 kB / 0.644 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1451, allocations: 173.6 kB / 0.6441 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.1453, allocations: 17.39 kB / 0.6442 GB, free: 7.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1474, allocations: 2.569 MB / 0.6467 GB, free: 5.148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1477, allocations: 0.7632 MB / 0.6474 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.543e-05/0.1477, allocations: 7.938 kB / 0.6474 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.1478, allocations: 55.41 kB / 0.6475 GB, free: 4.289 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1478, allocations: 0 / 0.6475 GB, free: 4.289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.1738, allocations: 7.749 MB / 0.655 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.03, allocations: 15.91 kB / 0.6551 GB, free: 12.74 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)