Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.008995/0.008995, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002063/0.002063, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 0.9505 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8529/0.8544, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002484/0.8569, allocations: 1.444 MB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003853/0.8608, allocations: 2.876 MB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.8608, allocations: 0.6562 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.8609, allocations: 9.203 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.8609, allocations: 16.34 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.8647, allocations: 1.584 MB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.8648, allocations: 46.22 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.8649, allocations: 3.297 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.116e-05/0.8649, allocations: 13.81 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.8649, allocations: 21.45 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.865, allocations: 0.7812 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.8674, allocations: 1.538 MB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.8674, allocations: 6.641 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.8675, allocations: 20.06 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.8692, allocations: 1.103 MB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8692, allocations: 0 / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8692, allocations: 1.031 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.8692, allocations: 0 / 1.096 GB, free: 0.6406 MB / 0.8575 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.0005059/0.8697, allocations: 0.5108 MB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.8698, allocations: 9.188 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.8698, allocations: 107.2 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.8699, allocations: 86.56 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.87, allocations: 259.2 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.8701, allocations: 151.8 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.8701, allocations: 152.6 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.713e-05/0.8702, allocations: 110 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.8702, allocations: 75.98 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.8703, allocations: 150.6 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.8703, allocations: 151.7 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.8704, allocations: 154.5 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.8706, allocations: 470.4 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.028e-05/0.8707, allocations: 170.1 kB / 1.098 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.8707, allocations: 81.45 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.8708, allocations: 84.19 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.8708, allocations: 110.5 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.8708, allocations: 1.125 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.941e-05/0.8709, allocations: 32.48 kB / 1.099 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.8709, allocations: 127.7 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.8711, allocations: 135.5 kB / 1.099 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.8711, allocations: 26.77 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.8712, allocations: 92.52 kB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.8712, allocations: 0 / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.8712, allocations: 23.8 kB / 1.099 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.8713, allocations: 319.5 kB / 1.099 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.8713, allocations: 3.219 kB / 1.099 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.8714, allocations: 3.797 kB / 1.099 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.8714, allocations: 15.78 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8714, allocations: 7.938 kB / 1.099 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001212/0.8715, allocations: 50.58 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.8716, allocations: 5.469 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.8716, allocations: 4.031 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.8716, allocations: 8 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.8716, allocations: 1.875 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.8716, allocations: 0 / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.8716, allocations: 8.594 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.8717, allocations: 1.625 kB / 1.1 GB, free: 12.98 MB / 0.8731 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 8.409e-05/0.8717, allocations: 187.4 kB / 1.1 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.8718, allocations: 120.7 kB / 1.1 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.8719, allocations: 113.5 kB / 1.1 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-05/0.8719, allocations: 180.9 kB / 1.1 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.789e-05/0.872, allocations: 182 kB / 1.1 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.616e-05/0.872, allocations: 182 kB / 1.1 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.8723, allocations: 418.2 kB / 1.101 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.8723, allocations: 102.1 kB / 1.101 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.8723, allocations: 105.6 kB / 1.101 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.128e-05/0.8724, allocations: 183.5 kB / 1.101 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.8724, allocations: 180.9 kB / 1.101 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.49e-05/0.8725, allocations: 182 kB / 1.102 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.024e-05/0.8725, allocations: 178 kB / 1.102 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.8727, allocations: 319 kB / 1.102 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.8727, allocations: 184.5 kB / 1.102 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.8728, allocations: 183.4 kB / 1.102 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.8729, allocations: 102.2 kB / 1.103 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.8729, allocations: 177.8 kB / 1.103 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.873, allocations: 114.6 kB / 1.103 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.853e-05/0.873, allocations: 103.7 kB / 1.103 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.873, allocations: 1.062 kB / 1.103 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008233/0.8739, allocations: 277.9 kB / 1.103 GB, free: 9.336 MB / 0.8731 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.001273/0.8752, allocations: 1.176 MB / 1.104 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.207e-05/0.8753, allocations: 44.55 kB / 1.104 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8753, allocations: 0 / 1.104 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.8753, allocations: 1 kB / 1.104 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.8757, allocations: 473.5 kB / 1.105 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.877, allocations: 1.597 MB / 1.106 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.8772, allocations: 0.6828 MB / 1.107 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.229e-05/0.8772, allocations: 0 / 1.107 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.8773, allocations: 23.02 kB / 1.107 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of SimCode: time 1.853e-06/0.8773, allocations: 0 / 1.107 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.907, allocations: 7.056 MB / 1.114 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.829, allocations: 14.62 kB / 1.114 GB, free: 5.039 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)