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.007951/0.007951, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001453/0.001453, allocations: 196.8 kB / 16.67 MB, free: 5.977 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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 1.021/1.021, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.91 kB / 0.5951 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5366, allocations: 82.02 MB / 0.6752 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004443/0.5411, allocations: 3.02 MB / 0.6782 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003373/0.5445, allocations: 2.16 MB / 0.6803 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.545, allocations: 4.594 kB / 0.6803 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.5467, allocations: 0.4951 MB / 0.6808 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.5471, allocations: 145.6 kB / 0.6809 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.5473, allocations: 61.41 kB / 0.681 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005581/0.5478, allocations: 450.1 kB / 0.6814 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.5481, allocations: 157.8 kB / 0.6815 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.5484, allocations: 155.3 kB / 0.6817 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.5486, allocations: 179.1 kB / 0.6819 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.5487, allocations: 34.25 kB / 0.6819 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.5488, allocations: 34.84 kB / 0.6819 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.5489, allocations: 99.23 kB / 0.682 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.5491, allocations: 213 kB / 0.6822 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.5497, allocations: 0.5683 MB / 0.6828 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5497, allocations: 1.125 kB / 0.6828 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5497, allocations: 0 / 0.6828 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.5497, allocations: 0 / 0.6828 GB, free: 11.3 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.001115/0.5508, allocations: 0.7041 MB / 0.6835 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5509, allocations: 9.625 kB / 0.6835 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.849e-05/0.551, allocations: 65.53 kB / 0.6835 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.5511, allocations: 46.38 kB / 0.6836 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.5516, allocations: 377.4 kB / 0.6839 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.5516, allocations: 12.88 kB / 0.6839 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.5517, allocations: 22.91 kB / 0.684 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.5521, allocations: 209.7 kB / 0.6842 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.5522, allocations: 5.469 kB / 0.6842 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.5522, allocations: 5.312 kB / 0.6842 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.5522, allocations: 5.531 kB / 0.6842 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.5526, allocations: 166.7 kB / 0.6843 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.5538, allocations: 0.858 MB / 0.6852 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.5541, allocations: 155.9 kB / 0.6853 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.5544, allocations: 109.2 kB / 0.6854 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.5544, allocations: 1.375 kB / 0.6854 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.5544, allocations: 39.94 kB / 0.6855 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.704e-06/0.5544, allocations: 1.375 kB / 0.6855 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006197/0.5551, allocations: 252.8 kB / 0.6857 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.5551, allocations: 54.16 kB / 0.6858 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.5556, allocations: 420.8 kB / 0.6862 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.5557, allocations: 25.7 kB / 0.6862 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.5558, allocations: 209.4 kB / 0.6864 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.5559, allocations: 67.25 kB / 0.6865 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.556, allocations: 35.38 kB / 0.6865 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5561, allocations: 351.8 kB / 0.6868 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.5563, allocations: 57.73 kB / 0.6869 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.5564, allocations: 57.77 kB / 0.6869 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.5567, allocations: 135.8 kB / 0.6871 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5567, allocations: 0 / 0.6871 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003881/0.5571, allocations: 205.1 kB / 0.6873 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5572, allocations: 9.594 kB / 0.6873 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5572, allocations: 7.922 kB / 0.6873 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5572, allocations: 1.188 kB / 0.6873 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.5575, allocations: 53.12 kB / 0.6873 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5575, allocations: 1.531 kB / 0.6873 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.5577, allocations: 25.39 kB / 0.6874 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.5577, allocations: 4.281 kB / 0.6874 GB, free: 7.688 MB / 0.5137 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.0001662/0.5579, allocations: 162.1 kB / 0.6875 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.5579, allocations: 36.5 kB / 0.6875 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.266e-05/0.558, allocations: 46.64 kB / 0.6876 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.558, allocations: 2.75 kB / 0.6876 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.558, allocations: 0 / 0.6876 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5581, allocations: 1.375 kB / 0.6876 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.5585, allocations: 381.5 kB / 0.688 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5585, allocations: 0 / 0.688 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.5588, allocations: 53.17 kB / 0.688 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5588, allocations: 5.484 kB / 0.688 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.5588, allocations: 9.5 kB / 0.688 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.5588, allocations: 4 kB / 0.688 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5588, allocations: 2.281 kB / 0.688 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.5594, allocations: 380.3 kB / 0.6884 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.5595, allocations: 115.8 kB / 0.6885 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.5596, allocations: 9.188 kB / 0.6885 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5598, allocations: 4.031 kB / 0.6885 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.5598, allocations: 13.7 kB / 0.6885 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.5598, allocations: 2.781 kB / 0.6885 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003509/0.5602, allocations: 305.9 kB / 0.6888 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5602, allocations: 5.188 kB / 0.6888 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003317/0.5605, allocations: 70.94 kB / 0.6889 GB, free: 6.523 MB / 0.5137 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.0009768/0.5615, allocations: 0.9169 MB / 0.6898 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.5619, allocations: 151.9 kB / 0.6899 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.562, allocations: 0 / 0.6899 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.5621, allocations: 77.16 kB / 0.69 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.5627, allocations: 96.5 kB / 0.6901 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.5674, allocations: 3.484 MB / 0.6935 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.5679, allocations: 0.7989 MB / 0.6943 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.5681, allocations: 34.97 kB / 0.6943 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.5682, allocations: 119.4 kB / 0.6944 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of SimCode: time 2.064e-06/0.5682, allocations: 0 / 0.6944 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.599, allocations: 7.885 MB / 0.7021 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.544, allocations: 15.22 kB / 0.7021 GB, free: 10.65 MB / 0.5294 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)