Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001207/0.001208, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.651/2.651, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 60.52 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2966, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002406/0.299, allocations: 1.448 MB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.3016, allocations: 1.786 MB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.3017, allocations: 4 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.043e-05/0.3018, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.3019, allocations: 39.81 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.3043, allocations: 1.07 MB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.3044, allocations: 51.78 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.3044, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.3045, allocations: 27.91 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.3046, allocations: 39.83 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3046, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.3058, allocations: 0.8501 MB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.963e-05/0.3059, allocations: 71.75 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.3059, allocations: 63.42 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.307, allocations: 0.8576 MB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.307, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.307, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.307, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 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.0007003/0.3077, allocations: 0.5839 MB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3078, allocations: 12.03 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3078, allocations: 24.66 kB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.308, allocations: 230.7 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.308, allocations: 384 / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.308, allocations: 384 / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3082, allocations: 113.8 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3082, allocations: 0 / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.3082, allocations: 0 / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3082, allocations: 0 / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.3083, allocations: 71.92 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.3086, allocations: 289.9 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.3087, allocations: 122.5 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.3088, allocations: 104.9 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3088, allocations: 3.938 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3088, allocations: 38.55 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 9.92e-07/0.3088, allocations: 0 / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.0003561/0.3092, allocations: 338.3 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.3093, allocations: 55.44 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3095, allocations: 257 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3095, allocations: 25.7 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.3096, allocations: 132.6 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.3097, allocations: 98.45 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3097, allocations: 33.7 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3098, allocations: 338.8 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.3099, allocations: 75.97 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.31, allocations: 75.98 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3101, allocations: 201.8 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3101, allocations: 0 / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002162/0.3104, allocations: 233.1 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3104, allocations: 8 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3104, allocations: 0 / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3104, allocations: 0 / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3104, allocations: 0 / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.3104, allocations: 0 / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.3105, allocations: 11.84 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3105, allocations: 0 / 1.077 GB, free: 0.7773 MB / 0.8262 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.0001252/0.3106, allocations: 163.6 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.3107, allocations: 27.56 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.3109, allocations: 256.3 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3109, allocations: 0 / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3109, allocations: 0 / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3109, allocations: 0 / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3112, allocations: 285.9 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3112, allocations: 3.938 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3112, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3112, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3112, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.3112, allocations: 7.984 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3112, allocations: 0 / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3115, allocations: 260.7 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.3116, allocations: 100.7 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3116, allocations: 8 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.3116, allocations: 0 / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.3116, allocations: 0 / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.3116, allocations: 0 / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001573/0.3118, allocations: 192.4 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.402e-06/0.3118, allocations: 3.938 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005672/0.3124, allocations: 215.8 kB / 1.079 GB, free: 15.18 MB / 0.8419 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.0007284/0.3131, allocations: 339 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002708/0.3134, allocations: 269.6 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3134, allocations: 0 / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3136, allocations: 177.6 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.3138, allocations: 21.12 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.3145, allocations: 0.5606 MB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3148, allocations: 0.7795 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.3148, allocations: 0 / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.3149, allocations: 11.44 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3149, allocations: 0 / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.008418/0.3233, allocations: 4.586 MB / 1.085 GB, free: 8.441 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)