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.007518/0.007518, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001768/0.001768, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.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.192/2.192, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 59.94 kB / 0.9505 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2203, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002213/0.2226, allocations: 1.44 MB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003822/0.2264, allocations: 2.889 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.2265, allocations: 4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.2266, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.2266, allocations: 27.72 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.2301, allocations: 1.58 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.636e-05/0.2302, allocations: 39.75 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.2303, allocations: 3.984 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.2303, allocations: 11.94 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.2303, allocations: 19.88 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.2303, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.2322, allocations: 1.54 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.2322, allocations: 3.938 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.2322, allocations: 19.88 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.2334, allocations: 1.096 MB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2335, allocations: 0 / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2335, allocations: 0 / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.2335, allocations: 0 / 1.096 GB, free: 9.285 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.0005026/0.234, allocations: 0.5185 MB / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.234, allocations: 12.03 kB / 1.097 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.2341, allocations: 110 kB / 1.097 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.2341, allocations: 88.11 kB / 1.097 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2343, allocations: 248.9 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.2343, allocations: 150.9 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.2344, allocations: 150.9 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.998e-05/0.2344, allocations: 108.9 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.2344, allocations: 79.28 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.2345, allocations: 150.6 kB / 1.098 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.2345, allocations: 154.5 kB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.2346, allocations: 158.5 kB / 1.098 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.2348, allocations: 469.8 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.059e-05/0.2349, allocations: 165.1 kB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.2349, allocations: 84.12 kB / 1.099 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2349, allocations: 79.22 kB / 1.099 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.235, allocations: 113.8 kB / 1.099 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.235, allocations: 7.938 kB / 1.099 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.433e-05/0.235, allocations: 25.7 kB / 1.099 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2351, allocations: 126.7 kB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2352, allocations: 139.6 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.2352, allocations: 25.7 kB / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.2353, allocations: 96.12 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.2353, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.2353, allocations: 13.72 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.2354, allocations: 322.9 kB / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.2354, allocations: 11.94 kB / 1.099 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.2354, allocations: 8 kB / 1.099 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.2355, allocations: 16.8 kB / 1.1 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2355, allocations: 0 / 1.1 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.2356, allocations: 53.7 kB / 1.1 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2356, allocations: 8 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.2356, allocations: 3.984 kB / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2357, allocations: 4 kB / 1.1 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.2357, allocations: 4.062 kB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.2357, allocations: 3.984 kB / 1.1 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.2357, allocations: 3.906 kB / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2357, allocations: 0 / 1.1 GB, free: 5.395 MB / 0.8575 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 7.731e-05/0.2358, allocations: 185.1 kB / 1.1 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.2358, allocations: 112.8 kB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.2359, allocations: 112.8 kB / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/0.2359, allocations: 184.3 kB / 1.1 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-05/0.236, allocations: 180.2 kB / 1.1 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-05/0.236, allocations: 180.3 kB / 1.1 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2362, allocations: 417.1 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/0.2362, allocations: 105 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.2363, allocations: 108.9 kB / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.273e-05/0.2363, allocations: 180.3 kB / 1.101 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.2364, allocations: 176.3 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.266e-05/0.2364, allocations: 184.2 kB / 1.102 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-05/0.2365, allocations: 180.2 kB / 1.102 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.2366, allocations: 311.7 kB / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.2367, allocations: 186 kB / 1.102 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.2367, allocations: 188.2 kB / 1.102 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.2368, allocations: 101 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.2368, allocations: 188.2 kB / 1.103 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.2369, allocations: 105 kB / 1.103 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.2369, allocations: 96.98 kB / 1.103 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2369, allocations: 0 / 1.103 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006193/0.2375, allocations: 287.7 kB / 1.103 GB, free: 1.48 MB / 0.8575 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.001071/0.2386, allocations: 1.18 MB / 1.104 GB, free: 280 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.522e-05/0.2387, allocations: 37.7 kB / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2387, allocations: 0 / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.2387, allocations: 368 / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2391, allocations: 480.3 kB / 1.105 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2402, allocations: 1.597 MB / 1.106 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.2404, allocations: 0.6807 MB / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.25e-05/0.2404, allocations: 0 / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.2405, allocations: 19.42 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.2405, allocations: 4.031 kB / 1.107 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.75/1.99, allocations: 7.054 MB / 1.114 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.488/11.48, allocations: 14.86 kB / 1.114 GB, free: 6.5 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)