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.0009383/0.0009382, allocations: 95.33 kB / 15.68 MB, free: 488 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.001124/0.001124, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.313/1.313, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8596/0.8596, allocations: 113.7 MB / 405.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 13.97 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 77.11 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001196/0.1428, allocations: 1.109 MB / 0.5579 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.1459, allocations: 2.525 MB / 0.5603 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1459, allocations: 0 / 0.5603 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1459, allocations: 7.984 kB / 0.5603 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-05/0.146, allocations: 19.91 kB / 0.5604 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.1484, allocations: 1.219 MB / 0.5615 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.237e-05/0.1485, allocations: 31.94 kB / 0.5616 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.1485, allocations: 4 kB / 0.5616 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.1486, allocations: 11.94 kB / 0.5616 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.777e-05/0.1486, allocations: 23.92 kB / 0.5616 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.1486, allocations: 0 / 0.5616 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.15, allocations: 1.155 MB / 0.5627 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.1501, allocations: 15.91 kB / 0.5628 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1501, allocations: 29.7 kB / 0.5628 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007751/0.1509, allocations: 0.6982 MB / 0.5635 GB, free: 4.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1509, allocations: 0 / 0.5635 GB, free: 4.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1509, allocations: 0 / 0.5635 GB, free: 4.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1509, allocations: 0 / 0.5635 GB, free: 4.797 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.0004555/0.1514, allocations: 0.5067 MB / 0.564 GB, free: 4.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1514, allocations: 8.031 kB / 0.564 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.1515, allocations: 109.8 kB / 0.5641 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.1515, allocations: 83.19 kB / 0.5642 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1516, allocations: 254.2 kB / 0.5644 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.1517, allocations: 154.5 kB / 0.5645 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.1518, allocations: 158.5 kB / 0.5647 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.619e-05/0.1518, allocations: 101 kB / 0.5648 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.1518, allocations: 75.28 kB / 0.5649 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.1519, allocations: 154.6 kB / 0.565 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.1519, allocations: 150.6 kB / 0.5652 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.152, allocations: 150.6 kB / 0.5653 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.1523, allocations: 473.8 kB / 0.5657 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.1523, allocations: 165.1 kB / 0.5659 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.1524, allocations: 83.23 kB / 0.566 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.929e-05/0.1524, allocations: 109.8 kB / 0.5661 GB, free: 1.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1524, allocations: 4 kB / 0.5661 GB, free: 1.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.551e-05/0.1525, allocations: 33.64 kB / 0.5661 GB, free: 1.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1526, allocations: 126.7 kB / 0.5662 GB, free: 1.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1527, allocations: 132.6 kB / 0.5664 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1527, allocations: 25.7 kB / 0.5664 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.1528, allocations: 92.14 kB / 0.5665 GB, free: 1.484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.1528, allocations: 0 / 0.5665 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.1528, allocations: 0 / 0.5665 GB, free: 1.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1529, allocations: 326.8 kB / 0.5668 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.1529, allocations: 4 kB / 0.5668 GB, free: 1.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.153, allocations: 4 kB / 0.5668 GB, free: 1.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.153, allocations: 8 kB / 0.5668 GB, free: 1.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.153, allocations: 0 / 0.5668 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/0.1531, allocations: 45.62 kB / 0.5669 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1531, allocations: 11.95 kB / 0.5669 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.1531, allocations: 0 / 0.5669 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1532, allocations: 0 / 0.5669 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1532, allocations: 0 / 0.5669 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1532, allocations: 8.062 kB / 0.5669 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.1532, allocations: 3.906 kB / 0.5669 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.1532, allocations: 4 kB / 0.5669 GB, free: 1.062 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 9.269e-05/0.1533, allocations: 193.1 kB / 0.5671 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.1534, allocations: 105 kB / 0.5672 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.1534, allocations: 116.8 kB / 0.5673 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-05/0.1535, allocations: 184.3 kB / 0.5675 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.225e-05/0.1535, allocations: 180.3 kB / 0.5676 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/0.1536, allocations: 188.2 kB / 0.5678 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1538, allocations: 405.2 kB / 0.5682 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/0.1538, allocations: 109 kB / 0.5683 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.1539, allocations: 105 kB / 0.5684 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-05/0.1539, allocations: 180.3 kB / 0.5686 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.154, allocations: 188.2 kB / 0.5687 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.36e-05/0.154, allocations: 184.2 kB / 0.5689 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.004e-05/0.1541, allocations: 184.2 kB / 0.5691 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1542, allocations: 307.7 kB / 0.5694 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.1542, allocations: 189.9 kB / 0.5696 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.1543, allocations: 180.3 kB / 0.5697 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1544, allocations: 105.2 kB / 0.5698 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.1545, allocations: 180.2 kB / 0.57 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.1545, allocations: 105 kB / 0.5701 GB, free: 13.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.725e-05/0.1545, allocations: 111.2 kB / 0.5702 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1546, allocations: 4 kB / 0.5702 GB, free: 13.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006024/0.1552, allocations: 271.8 kB / 0.5705 GB, free: 13.14 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.001018/0.1562, allocations: 1.121 MB / 0.5716 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.838e-05/0.1563, allocations: 37.7 kB / 0.5716 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1563, allocations: 4 kB / 0.5716 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/0.1563, allocations: 3.938 kB / 0.5716 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1566, allocations: 0.5328 MB / 0.5721 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.1572, allocations: 0.5499 MB / 0.5727 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1575, allocations: 0.6887 MB / 0.5734 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.352e-05/0.1575, allocations: 4 kB / 0.5734 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.1576, allocations: 23.42 kB / 0.5734 GB, free: 10.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1576, allocations: 0 / 0.5734 GB, free: 10.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2239/0.3815, allocations: 6.564 MB / 0.5798 GB, free: 3.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.3818, allocations: 258.5 kB / 0.58 GB, free: 3.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.409, allocations: 0 / 0.58 GB, free: 3.41 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: