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.001604/0.001604, allocations: 105.4 kB / 16.39 MB, free: 6.371 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.001663/0.001663, allocations: 195.7 kB / 17.33 MB, free: 5.84 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7433/0.7433, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.58 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 77.93 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002702/0.1434, allocations: 1.414 MB / 0.6455 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004193/0.1476, allocations: 2.853 MB / 0.6483 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.1477, allocations: 0 / 0.6483 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.1477, allocations: 3.984 kB / 0.6483 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.1478, allocations: 19.86 kB / 0.6483 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.1516, allocations: 1.564 MB / 0.6498 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.1517, allocations: 43.66 kB / 0.6499 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.1517, allocations: 4 kB / 0.6499 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.1518, allocations: 15.94 kB / 0.6499 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.701e-05/0.1518, allocations: 15.92 kB / 0.6499 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1518, allocations: 0 / 0.6499 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.1538, allocations: 1.478 MB / 0.6514 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.1538, allocations: 19.91 kB / 0.6514 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.1539, allocations: 19.88 kB / 0.6514 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.1551, allocations: 1.082 MB / 0.6525 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1551, allocations: 0 / 0.6525 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1551, allocations: 0 / 0.6525 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1551, allocations: 0 / 0.6525 GB, free: 0.9727 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005352/0.1556, allocations: 0.5246 MB / 0.653 GB, free: 408 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1557, allocations: 16.61 kB / 0.653 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.1557, allocations: 110 kB / 0.6531 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.1558, allocations: 88.17 kB / 0.6532 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.156, allocations: 251.5 kB / 0.6534 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.156, allocations: 150.9 kB / 0.6536 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.1561, allocations: 150.9 kB / 0.6537 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.222e-05/0.1561, allocations: 108.9 kB / 0.6538 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.1562, allocations: 75.28 kB / 0.6539 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.1562, allocations: 154.6 kB / 0.654 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.1563, allocations: 150.6 kB / 0.6542 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.326e-05/0.1563, allocations: 158.6 kB / 0.6543 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.1566, allocations: 453.9 kB / 0.6548 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.1567, allocations: 185.1 kB / 0.6549 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.1567, allocations: 80.14 kB / 0.655 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1567, allocations: 79.22 kB / 0.6551 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1568, allocations: 105.8 kB / 0.6552 GB, free: 14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1568, allocations: 0 / 0.6552 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.396e-05/0.1569, allocations: 37.59 kB / 0.6552 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.1569, allocations: 130.7 kB / 0.6553 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.157, allocations: 135.6 kB / 0.6555 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1571, allocations: 25.7 kB / 0.6555 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.1571, allocations: 92.12 kB / 0.6556 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1571, allocations: 3.938 kB / 0.6556 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1571, allocations: 17.72 kB / 0.6556 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.1572, allocations: 314.8 kB / 0.6559 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.1573, allocations: 8 kB / 0.6559 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.1573, allocations: 7.984 kB / 0.6559 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.1573, allocations: 12.86 kB / 0.6559 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1573, allocations: 0 / 0.6559 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001199/0.1575, allocations: 53.62 kB / 0.656 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1575, allocations: 4 kB / 0.656 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.1575, allocations: 7.984 kB / 0.656 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1575, allocations: 0 / 0.656 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-06/0.1575, allocations: 7.938 kB / 0.656 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1575, allocations: 0 / 0.656 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.1576, allocations: 4.109 kB / 0.656 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1576, allocations: 4 kB / 0.656 GB, free: 13.09 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 8.228e-05/0.1577, allocations: 189.1 kB / 0.6562 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.1577, allocations: 112.9 kB / 0.6563 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1578, allocations: 108.8 kB / 0.6564 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-05/0.1578, allocations: 184.2 kB / 0.6566 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.727e-05/0.1579, allocations: 180.3 kB / 0.6568 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-05/0.1579, allocations: 184.2 kB / 0.6569 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1581, allocations: 413.2 kB / 0.6573 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/0.1582, allocations: 108.9 kB / 0.6574 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.1582, allocations: 101 kB / 0.6575 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.907e-05/0.1583, allocations: 176.3 kB / 0.6577 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.1583, allocations: 192.2 kB / 0.6579 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.794e-05/0.1584, allocations: 176.3 kB / 0.658 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.054e-05/0.1584, allocations: 180.2 kB / 0.6582 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1586, allocations: 311.7 kB / 0.6585 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.1586, allocations: 190 kB / 0.6587 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.1587, allocations: 180.2 kB / 0.6589 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.1588, allocations: 112.9 kB / 0.659 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.1588, allocations: 176.3 kB / 0.6591 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.1589, allocations: 101 kB / 0.6592 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.1589, allocations: 101.1 kB / 0.6593 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.333e-06/0.1589, allocations: 4 kB / 0.6593 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006316/0.1596, allocations: 290.9 kB / 0.6596 GB, free: 9.168 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001181/0.1608, allocations: 1.166 MB / 0.6608 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.1609, allocations: 41.7 kB / 0.6608 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1609, allocations: 0 / 0.6608 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.1609, allocations: 3.938 kB / 0.6608 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1612, allocations: 463.6 kB / 0.6612 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1624, allocations: 1.592 MB / 0.6628 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1626, allocations: 0.6846 MB / 0.6635 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.1627, allocations: 7.938 kB / 0.6635 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.1627, allocations: 11.44 kB / 0.6635 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1627, allocations: 0 / 0.6635 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.1945, allocations: 6.876 MB / 0.6702 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.136, allocations: 5.062 kB / 0.6702 GB, free: 14.39 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)