Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.0007503/0.0007503, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.004794/0.004794, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.336 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 0.8666/0.8666, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 8 kB / 0.5166 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 83.42 MB / 0.598 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003471/0.1403, allocations: 3.753 MB / 0.6017 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.1426, allocations: 2.344 MB / 0.604 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1428, allocations: 12 kB / 0.604 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1439, allocations: 0.4979 MB / 0.6045 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1442, allocations: 214.4 kB / 0.6047 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.1444, allocations: 123.9 kB / 0.6048 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.238/0.3824, allocations: 0.8053 MB / 0.6056 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.3829, allocations: 274.1 kB / 0.6058 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.3832, allocations: 229 kB / 0.6061 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.3834, allocations: 295.1 kB / 0.6063 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.3835, allocations: 34.56 kB / 0.6064 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.3835, allocations: 35.56 kB / 0.6064 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.519e-05/0.3836, allocations: 123.8 kB / 0.6065 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.3838, allocations: 364.5 kB / 0.6069 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.3843, allocations: 0.9748 MB / 0.6078 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3843, allocations: 3.312 kB / 0.6078 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3843, allocations: 0 / 0.6078 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3843, allocations: 0 / 0.6078 GB, free: 35.41 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008974/0.3852, allocations: 0.8362 MB / 0.6086 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.3853, allocations: 9.719 kB / 0.6086 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.712e-05/0.3853, allocations: 91.31 kB / 0.6087 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.3854, allocations: 73.72 kB / 0.6088 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.3858, allocations: 452.2 kB / 0.6092 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3858, allocations: 38.19 kB / 0.6093 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.3859, allocations: 56.19 kB / 0.6093 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.3865, allocations: 433.4 kB / 0.6097 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3865, allocations: 3.281 kB / 0.6097 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.3866, allocations: 19.25 kB / 0.6098 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3866, allocations: 15.25 kB / 0.6098 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.3872, allocations: 378.6 kB / 0.6101 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.3886, allocations: 1.536 MB / 0.6116 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.389, allocations: 345.6 kB / 0.612 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.3894, allocations: 325.8 kB / 0.6123 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3894, allocations: 5.844 kB / 0.6123 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.3894, allocations: 40.69 kB / 0.6123 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.3894, allocations: 6.781 kB / 0.6123 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0007869/0.3902, allocations: 0.5019 MB / 0.6128 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.3902, allocations: 61.66 kB / 0.6129 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.3907, allocations: 483.9 kB / 0.6133 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3907, allocations: 37.48 kB / 0.6134 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3908, allocations: 275.3 kB / 0.6136 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.3909, allocations: 148.3 kB / 0.6138 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.391, allocations: 37.92 kB / 0.6138 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.391, allocations: 361.9 kB / 0.6142 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.3912, allocations: 129.5 kB / 0.6143 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.3914, allocations: 128.8 kB / 0.6144 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.3919, allocations: 312.1 kB / 0.6147 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3919, allocations: 0 / 0.6147 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005534/0.3924, allocations: 402.2 kB / 0.6151 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3924, allocations: 6.094 kB / 0.6151 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3925, allocations: 0 / 0.6151 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3925, allocations: 6.75 kB / 0.6151 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.3929, allocations: 129.6 kB / 0.6152 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3929, allocations: 0.75 kB / 0.6152 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.3932, allocations: 60.14 kB / 0.6153 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.3932, allocations: 12.19 kB / 0.6153 GB, free: 32.94 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 (46): * Single equations (assignments): 46 * 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.0001573/0.3933, allocations: 194.4 kB / 0.6155 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.3934, allocations: 50.31 kB / 0.6155 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-05/0.3935, allocations: 64.8 kB / 0.6156 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3935, allocations: 5.625 kB / 0.6156 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3935, allocations: 0 / 0.6156 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3935, allocations: 0.625 kB / 0.6156 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.394, allocations: 0.5811 MB / 0.6162 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.394, allocations: 2.875 kB / 0.6162 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.3944, allocations: 128.5 kB / 0.6163 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3945, allocations: 6 kB / 0.6163 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3945, allocations: 8.719 kB / 0.6163 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3945, allocations: 0 / 0.6163 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3945, allocations: 2.781 kB / 0.6163 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.3952, allocations: 0.6669 MB / 0.617 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.3953, allocations: 146 kB / 0.6171 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.3954, allocations: 13.47 kB / 0.6171 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.3956, allocations: 19.61 kB / 0.6171 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.3957, allocations: 23.53 kB / 0.6171 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3957, allocations: 10.64 kB / 0.6172 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002742/0.396, allocations: 350.6 kB / 0.6175 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.396, allocations: 3.094 kB / 0.6175 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003146/0.3963, allocations: 141.1 kB / 0.6176 GB, free: 32.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0008853/0.3972, allocations: 1.224 MB / 0.6188 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.3977, allocations: 329.5 kB / 0.6191 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3977, allocations: 4 kB / 0.6191 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.3979, allocations: 187 kB / 0.6193 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.3985, allocations: 119.1 kB / 0.6194 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.4035, allocations: 5.358 MB / 0.6247 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.4038, allocations: 0.8686 MB / 0.6255 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.4039, allocations: 53.55 kB / 0.6256 GB, free: 27.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.4041, allocations: 185.8 kB / 0.6257 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.4041, allocations: 0 / 0.6257 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.58/2.984, allocations: 10.65 MB / 0.6361 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/2.985, allocations: 277.5 kB / 0.6364 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/4.747, allocations: 3.969 kB / 0.6364 GB, free: 26.61 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)