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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.006244/0.006244, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.001402/0.001402, allocations: 189 kB / 16.67 MB, free: 5.961 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.25/2.25, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.91 kB / 0.9505 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8431, 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.MultipoleThermalResistances_TwoUTube): time 0.002495/0.8456, allocations: 1.378 MB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.8482, allocations: 1.787 MB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.8483, allocations: 5.031 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.902e-05/0.8484, allocations: 8.578 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.8486, allocations: 35.58 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.8514, allocations: 1.151 MB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.8515, allocations: 48.64 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.8516, allocations: 7.031 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.8517, allocations: 25.33 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.8518, allocations: 35.61 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.8518, allocations: 1.406 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.8532, allocations: 0.8894 MB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.8533, allocations: 62.47 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.8534, allocations: 69.05 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.8547, allocations: 0.8751 MB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8548, allocations: 0.6562 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8548, allocations: 4.734 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.8548, allocations: 4.781 kB / 1.094 GB, free: 1.793 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000678/0.8555, allocations: 0.5738 MB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8555, allocations: 9.375 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.8556, allocations: 43.2 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.8556, allocations: 25.73 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.8558, allocations: 221.5 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.8558, allocations: 1.406 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.8558, allocations: 384 / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.856, allocations: 111.7 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.856, allocations: 0 / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.856, allocations: 4.531 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.856, allocations: 1.297 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-05/0.8561, allocations: 78.33 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.8564, allocations: 282.4 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.8566, allocations: 121.7 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.8567, allocations: 108.7 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.8567, allocations: 14.14 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.8567, allocations: 31.66 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 1.312e-06/0.8567, allocations: 0 / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0004799/0.8572, allocations: 337.1 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.8572, allocations: 52.31 kB / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.8575, allocations: 257.2 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.8575, allocations: 25.7 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.8576, allocations: 132.3 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.8577, allocations: 109.2 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.8578, allocations: 27.78 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8579, allocations: 342.3 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.858, allocations: 73.66 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.8581, allocations: 70.58 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.8583, allocations: 201.7 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8584, allocations: 3.938 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002719/0.8586, allocations: 229.5 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.8587, allocations: 9.5 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.8587, allocations: 1.672 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8587, allocations: 0 / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-06/0.8587, allocations: 1.703 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.8587, allocations: 3.984 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.8588, allocations: 10.03 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.8588, allocations: 1.906 kB / 1.097 GB, free: 15.45 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 0.0001512/0.8589, allocations: 155.3 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.859, allocations: 24.84 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.8593, allocations: 261 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8593, allocations: 5.094 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8594, allocations: 0 / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8594, allocations: 4.594 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.8597, allocations: 282.9 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8597, allocations: 5.062 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-06/0.8597, allocations: 0.7969 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8597, allocations: 0.9375 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.8597, allocations: 1.062 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8597, allocations: 0 / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8597, allocations: 0.7969 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.86, allocations: 264.6 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.8601, allocations: 104.5 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.8601, allocations: 5.828 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.8602, allocations: 0 / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.8602, allocations: 5.281 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.8602, allocations: 1.688 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001942/0.8604, allocations: 188.8 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8604, allocations: 4.031 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009547/0.8614, allocations: 211.5 kB / 1.099 GB, free: 14.59 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 (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 Backend phase and start with SimCode phase: time 0.001451/0.8628, allocations: 1.026 MB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.8632, allocations: 263.6 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.8633, allocations: 0 / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.8635, allocations: 182 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.8638, allocations: 18.27 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.8671, allocations: 2.564 MB / 1.103 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.8675, allocations: 0.7689 MB / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.8676, allocations: 3.562 kB / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.8677, allocations: 54.56 kB / 1.103 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.8677, allocations: 0 / 1.103 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.9041, allocations: 7.76 MB / 1.111 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.999, allocations: 15.7 kB / 1.111 GB, free: 10.62 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)