Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_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.001416/0.001416, allocations: 108 kB / 15.6 MB, free: 132 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.001404/0.001404, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.89 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5514, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002728/0.5541, allocations: 1.432 MB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.5584, allocations: 2.856 MB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.5585, allocations: 4 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.5585, allocations: 3.938 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.5586, allocations: 15.84 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003986/0.5626, allocations: 1.565 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.5627, allocations: 43.73 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.5627, allocations: 3.984 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.292e-05/0.5628, allocations: 11.94 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.677e-05/0.5628, allocations: 19.86 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.5628, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.5649, allocations: 1.427 MB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.5649, allocations: 7.984 kB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.5649, allocations: 15.88 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.5665, allocations: 1.08 MB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5665, allocations: 0 / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5665, allocations: 0 / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5665, allocations: 0 / 1.026 GB, free: 10 MB / 0.7794 GB 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.0006139/0.5672, allocations: 0.5185 MB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5672, allocations: 12.03 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.5672, allocations: 110 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.5673, allocations: 80.12 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.5675, allocations: 251.5 kB / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.5675, allocations: 150.9 kB / 1.027 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.5676, allocations: 158.9 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.688e-05/0.5676, allocations: 104.9 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.5677, allocations: 79.28 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.5677, allocations: 150.6 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.5678, allocations: 150.6 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.5678, allocations: 158.5 kB / 1.028 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.5681, allocations: 457.9 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.578e-05/0.5682, allocations: 177.1 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.5683, allocations: 84.14 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.5683, allocations: 83.16 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.5683, allocations: 105.8 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.5683, allocations: 4 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.703e-05/0.5684, allocations: 37.55 kB / 1.029 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.5685, allocations: 126.7 kB / 1.029 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.5686, allocations: 131.9 kB / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.5686, allocations: 25.7 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.5687, allocations: 92.12 kB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.5687, allocations: 3.938 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.5687, allocations: 17.72 kB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.5688, allocations: 318.8 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.5689, allocations: 4 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.5689, allocations: 7.984 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.5689, allocations: 12.86 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5689, allocations: 0 / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.569, allocations: 53.48 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5691, allocations: 4 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.5691, allocations: 3.984 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5691, allocations: 8.031 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.5691, allocations: 4.062 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.5691, allocations: 0 / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.5691, allocations: 0 / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.5692, allocations: 0 / 1.029 GB, free: 6.137 MB / 0.7794 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 9.285e-05/0.5692, allocations: 189.1 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.5693, allocations: 108.8 kB / 1.03 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.5694, allocations: 120.8 kB / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-05/0.5694, allocations: 184.3 kB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.986e-05/0.5695, allocations: 180.3 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.206e-05/0.5696, allocations: 188.2 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.5698, allocations: 409.2 kB / 1.031 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.5698, allocations: 112.9 kB / 1.031 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.5699, allocations: 101 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-05/0.5699, allocations: 184.2 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.57, allocations: 180.3 kB / 1.031 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-05/0.5701, allocations: 180.3 kB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.488e-05/0.5701, allocations: 184.2 kB / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.5703, allocations: 319.5 kB / 1.032 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.5703, allocations: 182.1 kB / 1.032 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.5704, allocations: 180.2 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.5705, allocations: 104.9 kB / 1.032 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.5706, allocations: 176.3 kB / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.5706, allocations: 108.9 kB / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.5707, allocations: 104.7 kB / 1.033 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5707, allocations: 0 / 1.033 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007451/0.5714, allocations: 279.8 kB / 1.033 GB, free: 2.219 MB / 0.7794 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.001336/0.5728, allocations: 1.165 MB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.5729, allocations: 41.64 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5729, allocations: 3.938 kB / 1.034 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.5729, allocations: 0 / 1.034 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.5733, allocations: 456.4 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.5747, allocations: 1.569 MB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.5749, allocations: 0.6807 MB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.618e-05/0.575, allocations: 3.984 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.575, allocations: 11.44 kB / 1.037 GB, free: 14.15 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.575, allocations: 7.969 kB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4476/1.023, allocations: 6.869 MB / 1.043 GB, free: 7.469 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.392/10.42, allocations: 21.39 kB / 1.043 GB, free: 7.449 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)