Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.0008813/0.0008814, allocations: 92.78 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.001067/0.001067, allocations: 176.8 kB / 16.58 MB, free: 5.688 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.237/1.237, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6055/0.6055, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002686, allocations: 8 kB / 493.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 77.12 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002574/0.1219, allocations: 2.576 MB / 0.5594 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1239, allocations: 1.94 MB / 0.5613 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.124, allocations: 8 kB / 0.5613 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.1249, allocations: 418.2 kB / 0.5617 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1251, allocations: 135.2 kB / 0.5619 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.896e-05/0.1252, allocations: 35.97 kB / 0.5619 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.1256, allocations: 429.9 kB / 0.5623 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1258, allocations: 115 kB / 0.5624 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.1259, allocations: 135.4 kB / 0.5626 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.1261, allocations: 167.2 kB / 0.5627 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1261, allocations: 16 kB / 0.5627 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.407e-05/0.1262, allocations: 24 kB / 0.5628 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.1263, allocations: 75.69 kB / 0.5628 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.1264, allocations: 109.5 kB / 0.5629 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.1267, allocations: 442.7 kB / 0.5634 GB, free: 5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1267, allocations: 0 / 0.5634 GB, free: 5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1267, allocations: 0 / 0.5634 GB, free: 5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1267, allocations: 0 / 0.5634 GB, free: 5 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007462/0.1275, allocations: 0.65 MB / 0.564 GB, free: 4.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1275, allocations: 12.03 kB / 0.564 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.1275, allocations: 50.55 kB / 0.564 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.1276, allocations: 47.44 kB / 0.5641 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.128, allocations: 361.1 kB / 0.5644 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.128, allocations: 24.39 kB / 0.5645 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.1281, allocations: 28 kB / 0.5645 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.1284, allocations: 195.3 kB / 0.5647 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1284, allocations: 7.906 kB / 0.5647 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1285, allocations: 8 kB / 0.5647 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1285, allocations: 4 kB / 0.5647 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.1288, allocations: 177.6 kB / 0.5649 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.1298, allocations: 0.8702 MB / 0.5657 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.13, allocations: 164.3 kB / 0.5659 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.1302, allocations: 116.8 kB / 0.566 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1303, allocations: 4 kB / 0.566 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.1303, allocations: 34.5 kB / 0.566 GB, free: 2.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.1303, allocations: 0 / 0.566 GB, free: 2.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005097/0.1308, allocations: 273.4 kB / 0.5663 GB, free: 1.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.1308, allocations: 55.41 kB / 0.5663 GB, free: 1.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.1313, allocations: 413.7 kB / 0.5667 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1313, allocations: 33.7 kB / 0.5668 GB, free: 1.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1314, allocations: 204.2 kB / 0.567 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.1315, allocations: 67.02 kB / 0.567 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/0.1315, allocations: 4 kB / 0.567 GB, free: 1.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1316, allocations: 346.8 kB / 0.5674 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1317, allocations: 55.97 kB / 0.5674 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1319, allocations: 71.91 kB / 0.5675 GB, free: 0.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.132, allocations: 65.88 kB / 0.5675 GB, free: 492 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.132, allocations: 3.953 kB / 0.5675 GB, free: 488 kB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00033/0.1324, allocations: 219 kB / 0.5677 GB, free: 264 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1324, allocations: 10.14 kB / 0.5678 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1324, allocations: 0 / 0.5678 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1324, allocations: 0 / 0.5678 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.1326, allocations: 63.89 kB / 0.5678 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1327, allocations: 4 kB / 0.5678 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1328, allocations: 31.77 kB / 0.5679 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1328, allocations: 4 kB / 0.5679 GB, free: 152 kB / 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.000136/0.133, allocations: 157.8 kB / 0.568 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.133, allocations: 39.61 kB / 0.568 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.1331, allocations: 43.55 kB / 0.5681 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1331, allocations: 0 / 0.5681 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1331, allocations: 0 / 0.5681 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1331, allocations: 4 kB / 0.5681 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.1335, allocations: 377.3 kB / 0.5685 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1335, allocations: 0 / 0.5685 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.1337, allocations: 59.91 kB / 0.5685 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1337, allocations: 0 / 0.5685 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1337, allocations: 0 / 0.5685 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1337, allocations: 3.953 kB / 0.5685 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1337, allocations: 4 kB / 0.5685 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.1343, allocations: 390.9 kB / 0.5689 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.1344, allocations: 120.6 kB / 0.569 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.1344, allocations: 8.062 kB / 0.569 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.1346, allocations: 23.88 kB / 0.569 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.1346, allocations: 7.984 kB / 0.569 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1346, allocations: 8 kB / 0.569 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.1349, allocations: 303.1 kB / 0.5693 GB, free: 14.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1349, allocations: 0 / 0.5693 GB, free: 14.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1352, allocations: 71.84 kB / 0.5694 GB, free: 14.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0007471/0.136, allocations: 0.937 MB / 0.5703 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.1363, allocations: 143.9 kB / 0.5705 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1363, allocations: 0 / 0.5705 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1364, allocations: 95.95 kB / 0.5706 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1369, allocations: 86.09 kB / 0.5706 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.1399, allocations: 2.222 MB / 0.5728 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1402, allocations: 0.7953 MB / 0.5736 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.1403, allocations: 30.97 kB / 0.5736 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1405, allocations: 120.3 kB / 0.5737 GB, free: 9.941 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1405, allocations: 4 kB / 0.5737 GB, free: 9.938 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.1572, allocations: 7.162 MB / 0.5807 GB, free: 3.105 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.1575, allocations: 260.3 kB / 0.581 GB, free: 2.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.732, allocations: 4.062 kB / 0.581 GB, free: 2.762 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: