Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_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.007579/0.007579, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.00144/0.00144, allocations: 197.7 kB / 16.67 MB, free: 5.508 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 / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9454/0.9454, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.05 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1469, allocations: 82.03 MB / 0.6752 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004206/0.1512, allocations: 3.026 MB / 0.6782 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.1541, allocations: 2.143 MB / 0.6803 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.1543, allocations: 15.94 kB / 0.6803 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.1558, allocations: 0.4899 MB / 0.6807 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.1562, allocations: 154.8 kB / 0.6809 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.1564, allocations: 55.94 kB / 0.681 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.157, allocations: 453.8 kB / 0.6814 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.1573, allocations: 155.2 kB / 0.6815 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.1576, allocations: 159.3 kB / 0.6817 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.1579, allocations: 183.1 kB / 0.6819 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.158, allocations: 36 kB / 0.6819 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.1581, allocations: 40 kB / 0.6819 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1583, allocations: 91.67 kB / 0.682 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.1585, allocations: 218.9 kB / 0.6822 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.1592, allocations: 0.5644 MB / 0.6828 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1592, allocations: 0 / 0.6828 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.615e-06/0.1592, allocations: 0 / 0.6828 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.1592, allocations: 0 / 0.6828 GB, free: 3.043 MB / 0.5137 GB 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.001349/0.1606, allocations: 0.7045 MB / 0.6835 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1606, allocations: 8.031 kB / 0.6835 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.852e-05/0.1607, allocations: 54.73 kB / 0.6835 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1608, allocations: 52.36 kB / 0.6836 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.1613, allocations: 378 kB / 0.6839 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.1614, allocations: 20.81 kB / 0.684 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.1614, allocations: 20.38 kB / 0.684 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.1618, allocations: 207.4 kB / 0.6842 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1619, allocations: 0 / 0.6842 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.1619, allocations: 8 kB / 0.6842 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1619, allocations: 8 kB / 0.6842 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.1623, allocations: 157.7 kB / 0.6843 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1635, allocations: 0.87 MB / 0.6852 GB, free: 408 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.1638, allocations: 152.6 kB / 0.6853 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.164, allocations: 108.8 kB / 0.6854 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1641, allocations: 11.94 kB / 0.6854 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1641, allocations: 34.56 kB / 0.6855 GB, free: 80 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.1641, allocations: 3.938 kB / 0.6855 GB, free: 76 kB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006343/0.1648, allocations: 256 kB / 0.6857 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1648, allocations: 55.41 kB / 0.6858 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.1653, allocations: 421.7 kB / 0.6862 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1653, allocations: 33.7 kB / 0.6862 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1654, allocations: 200.2 kB / 0.6864 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.1655, allocations: 67.08 kB / 0.6865 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.1656, allocations: 29.72 kB / 0.6865 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1657, allocations: 350.8 kB / 0.6868 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1658, allocations: 55.92 kB / 0.6869 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.166, allocations: 61.28 kB / 0.6869 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.1663, allocations: 138.7 kB / 0.6871 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1663, allocations: 0 / 0.6871 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003717/0.1666, allocations: 205.1 kB / 0.6873 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1667, allocations: 4 kB / 0.6873 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1667, allocations: 3.938 kB / 0.6873 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1667, allocations: 0 / 0.6873 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.1669, allocations: 67.89 kB / 0.6873 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.167, allocations: 0 / 0.6873 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1671, allocations: 11.84 kB / 0.6874 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1671, allocations: 7.938 kB / 0.6874 GB, free: 14.08 MB / 0.5294 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001526/0.1673, allocations: 162.5 kB / 0.6875 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.1674, allocations: 43.53 kB / 0.6876 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.93e-05/0.1674, allocations: 47.52 kB / 0.6876 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1674, allocations: 4 kB / 0.6876 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1675, allocations: 0 / 0.6876 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1675, allocations: 3.938 kB / 0.6876 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.1679, allocations: 369.3 kB / 0.688 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.1679, allocations: 8 kB / 0.688 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.1682, allocations: 51.95 kB / 0.688 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1682, allocations: 0 / 0.688 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1682, allocations: 11.94 kB / 0.688 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1682, allocations: 0 / 0.688 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1682, allocations: 0 / 0.688 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.1688, allocations: 381 kB / 0.6884 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1689, allocations: 112.6 kB / 0.6885 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.169, allocations: 15.92 kB / 0.6885 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1691, allocations: 4 kB / 0.6885 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1692, allocations: 11.98 kB / 0.6885 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1692, allocations: 8.062 kB / 0.6885 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003089/0.1695, allocations: 307.1 kB / 0.6888 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1695, allocations: 0 / 0.6888 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003101/0.1698, allocations: 75.78 kB / 0.6889 GB, free: 12.41 MB / 0.5294 GB 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 (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.0008409/0.1707, allocations: 0.9205 MB / 0.6898 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.171, allocations: 143.9 kB / 0.6899 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.171, allocations: 0 / 0.6899 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1712, allocations: 79.81 kB / 0.69 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.1717, allocations: 97.39 kB / 0.6901 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.176, allocations: 3.474 MB / 0.6935 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1763, allocations: 0.7951 MB / 0.6943 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.1765, allocations: 38.94 kB / 0.6943 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.1766, allocations: 119.4 kB / 0.6944 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1766, allocations: 0 / 0.6944 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.2034, allocations: 8.132 MB / 0.7024 GB, free: 14.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.289, allocations: 8.625 kB / 0.7024 GB, free: 14.77 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)