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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.000708/0.0007079, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007591/0.0007591, allocations: 170.2 kB / 16.58 MB, free: 6.051 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.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6008/0.6008, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 8 kB / 493.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 77.11 MB / 0.557 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001208/0.1183, allocations: 1.121 MB / 0.558 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.1215, allocations: 2.61 MB / 0.5606 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.1215, allocations: 0 / 0.5606 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.1215, allocations: 3.938 kB / 0.5606 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.1216, allocations: 15.91 kB / 0.5606 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.124, allocations: 1.227 MB / 0.5618 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.1241, allocations: 43.69 kB / 0.5619 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1241, allocations: 7.969 kB / 0.5619 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.1241, allocations: 8 kB / 0.5619 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.1242, allocations: 19.88 kB / 0.5619 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.1242, allocations: 0 / 0.5619 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1257, allocations: 1.221 MB / 0.5631 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.1258, allocations: 7.984 kB / 0.5631 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.1258, allocations: 29.7 kB / 0.5631 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.1266, allocations: 0.6904 MB / 0.5638 GB, free: 4.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1266, allocations: 4 kB / 0.5638 GB, free: 4.578 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1267, allocations: 0 / 0.5638 GB, free: 4.578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1267, allocations: 0 / 0.5638 GB, free: 4.578 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005417/0.1272, allocations: 0.5028 MB / 0.5643 GB, free: 4.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1272, allocations: 12.03 kB / 0.5643 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.1273, allocations: 113.8 kB / 0.5644 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.1274, allocations: 79.19 kB / 0.5645 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1275, allocations: 245 kB / 0.5647 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.1275, allocations: 162.5 kB / 0.5649 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1276, allocations: 150.6 kB / 0.565 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.62e-05/0.1276, allocations: 104.9 kB / 0.5651 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.1277, allocations: 75.28 kB / 0.5652 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.1277, allocations: 154.5 kB / 0.5653 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/0.1278, allocations: 154.6 kB / 0.5655 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.1278, allocations: 154.6 kB / 0.5656 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.1281, allocations: 465.8 kB / 0.5661 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.349e-05/0.1281, allocations: 173.1 kB / 0.5662 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.1282, allocations: 88.08 kB / 0.5663 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1282, allocations: 79.28 kB / 0.5664 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1282, allocations: 109.8 kB / 0.5665 GB, free: 1.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.1282, allocations: 0 / 0.5665 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.655e-05/0.1283, allocations: 29.7 kB / 0.5665 GB, free: 1.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1283, allocations: 126.7 kB / 0.5667 GB, free: 1.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1285, allocations: 133.9 kB / 0.5668 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1285, allocations: 29.7 kB / 0.5668 GB, free: 1.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.1285, allocations: 88.14 kB / 0.5669 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.1285, allocations: 0 / 0.5669 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.1285, allocations: 3.938 kB / 0.5669 GB, free: 1.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.1286, allocations: 318.8 kB / 0.5672 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.1287, allocations: 4 kB / 0.5672 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.1287, allocations: 8 kB / 0.5672 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.1287, allocations: 4 kB / 0.5672 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1287, allocations: 0 / 0.5672 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.1288, allocations: 53.67 kB / 0.5673 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1288, allocations: 4 kB / 0.5673 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.1289, allocations: 4 kB / 0.5673 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.1289, allocations: 0 / 0.5673 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1289, allocations: 0 / 0.5673 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.1289, allocations: 0 / 0.5673 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.1289, allocations: 3.906 kB / 0.5673 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1289, allocations: 4 kB / 0.5673 GB, free: 0.7695 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/0.129, allocations: 189 kB / 0.5675 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.1291, allocations: 116.9 kB / 0.5676 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.1291, allocations: 108.9 kB / 0.5677 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.286e-05/0.1292, allocations: 184.2 kB / 0.5679 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.284e-05/0.1292, allocations: 180.2 kB / 0.568 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-05/0.1293, allocations: 176.3 kB / 0.5682 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1295, allocations: 421.2 kB / 0.5686 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/0.1295, allocations: 104.9 kB / 0.5687 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.1296, allocations: 104.9 kB / 0.5688 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-05/0.1296, allocations: 188.3 kB / 0.569 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.1297, allocations: 180.2 kB / 0.5691 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.544e-05/0.1297, allocations: 180.2 kB / 0.5693 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.167e-05/0.1298, allocations: 184.3 kB / 0.5695 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1299, allocations: 319.6 kB / 0.5698 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.13, allocations: 185.9 kB / 0.57 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.13, allocations: 180.5 kB / 0.5701 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.1301, allocations: 116.9 kB / 0.5703 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.1302, allocations: 180.2 kB / 0.5704 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.1302, allocations: 109 kB / 0.5705 GB, free: 13.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.798e-05/0.1303, allocations: 97.61 kB / 0.5706 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1303, allocations: 3.938 kB / 0.5706 GB, free: 13.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006337/0.1309, allocations: 271.8 kB / 0.5709 GB, free: 12.84 MB / 446.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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.132, allocations: 1.139 MB / 0.572 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.652e-05/0.1321, allocations: 33.7 kB / 0.572 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1321, allocations: 4 kB / 0.572 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.1321, allocations: 0 / 0.572 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1325, allocations: 0.5302 MB / 0.5726 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.1332, allocations: 0.6784 MB / 0.5732 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1334, allocations: 0.6848 MB / 0.5739 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.177e-05/0.1335, allocations: 0 / 0.5739 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.1335, allocations: 19.44 kB / 0.5739 GB, free: 9.648 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1335, allocations: 0 / 0.5739 GB, free: 9.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.1498, allocations: 6.609 MB / 0.5804 GB, free: 3.285 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.15, allocations: 272.8 kB / 0.5806 GB, free: 2.926 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.831, allocations: 6.578 kB / 0.5806 GB, free: 2.922 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: