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.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 152 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.001179/0.001179, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.218/2.218, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.8127 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5493, allocations: 140.4 MB / 0.9498 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001995/0.5513, allocations: 1.37 MB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.5533, allocations: 1.791 MB / 0.9529 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.5534, allocations: 0 / 0.9529 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.724e-05/0.5535, allocations: 9.984 kB / 0.9529 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.5536, allocations: 34.78 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.5555, allocations: 1.135 MB / 0.954 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.564e-05/0.5556, allocations: 50.75 kB / 0.9541 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.5556, allocations: 1.438 kB / 0.9541 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.614e-05/0.5557, allocations: 29.92 kB / 0.9541 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.5558, allocations: 33.52 kB / 0.9541 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.5558, allocations: 1.375 kB / 0.9541 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008533/0.5566, allocations: 0.8492 MB / 0.955 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.5567, allocations: 66.67 kB / 0.955 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.5568, allocations: 68.56 kB / 0.9551 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.5575, allocations: 0.8747 MB / 0.9559 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5575, allocations: 0 / 0.9559 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5575, allocations: 0 / 0.9559 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.5575, allocations: 0 / 0.9559 GB, free: 4.758 MB / 0.7169 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.0004534/0.558, allocations: 0.5809 MB / 0.9565 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.558, allocations: 13.62 kB / 0.9565 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.5581, allocations: 44.23 kB / 0.9566 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.5581, allocations: 36.75 kB / 0.9566 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.5582, allocations: 216.7 kB / 0.9568 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.5582, allocations: 384 / 0.9568 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.5583, allocations: 1.75 kB / 0.9568 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.5584, allocations: 109.8 kB / 0.9569 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.5584, allocations: 1.375 kB / 0.9569 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.5584, allocations: 0 / 0.9569 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.5584, allocations: 0 / 0.9569 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.5585, allocations: 80.22 kB / 0.957 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.5586, allocations: 280.5 kB / 0.9573 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.5587, allocations: 119.3 kB / 0.9574 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.5588, allocations: 110 kB / 0.9575 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.5588, allocations: 9.094 kB / 0.9575 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.046e-05/0.5589, allocations: 31.84 kB / 0.9575 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 9.62e-07/0.5589, allocations: 4 kB / 0.9575 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.0003268/0.5592, allocations: 341.5 kB / 0.9579 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.5592, allocations: 52.47 kB / 0.9579 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5594, allocations: 258.3 kB / 0.9581 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.5594, allocations: 26.77 kB / 0.9582 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.5595, allocations: 126.1 kB / 0.9583 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.5595, allocations: 102.8 kB / 0.9584 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.5596, allocations: 28.83 kB / 0.9584 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.5596, allocations: 353.6 kB / 0.9588 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.5597, allocations: 70.58 kB / 0.9588 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.5598, allocations: 75.72 kB / 0.9589 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.5599, allocations: 199.8 kB / 0.9591 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5599, allocations: 1.406 kB / 0.9591 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001906/0.5601, allocations: 224.5 kB / 0.9593 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.5601, allocations: 5.375 kB / 0.9593 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5602, allocations: 5.109 kB / 0.9593 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.5602, allocations: 0 / 0.9593 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.5602, allocations: 0 / 0.9593 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.5602, allocations: 9.125 kB / 0.9593 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.5602, allocations: 14.03 kB / 0.9593 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5602, allocations: 1.375 kB / 0.9593 GB, free: 2.188 MB / 0.7169 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.341e-05/0.5603, allocations: 155 kB / 0.9595 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.5603, allocations: 27.75 kB / 0.9595 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.5606, allocations: 248.1 kB / 0.9597 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5606, allocations: 4.031 kB / 0.9597 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5606, allocations: 1.062 kB / 0.9598 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.5606, allocations: 0 / 0.9598 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.5607, allocations: 293.3 kB / 0.96 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5608, allocations: 1.312 kB / 0.96 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5608, allocations: 0 / 0.96 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5608, allocations: 0 / 0.96 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.5608, allocations: 1.031 kB / 0.96 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5608, allocations: 1.094 kB / 0.96 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5608, allocations: 4 kB / 0.96 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.561, allocations: 271.6 kB / 0.9603 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.561, allocations: 96.27 kB / 0.9604 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.561, allocations: 3.688 kB / 0.9604 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.5611, allocations: 11.92 kB / 0.9604 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.5611, allocations: 0 / 0.9604 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.5611, allocations: 0 / 0.9604 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001129/0.5612, allocations: 187.5 kB / 0.9606 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5612, allocations: 0 / 0.9606 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004655/0.5617, allocations: 215.4 kB / 0.9608 GB, free: 1.227 MB / 0.7169 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.0008318/0.5625, allocations: 1.023 MB / 0.9618 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.5628, allocations: 268 kB / 0.962 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5628, allocations: 1.344 kB / 0.962 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.5629, allocations: 174.5 kB / 0.9622 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.5631, allocations: 22.45 kB / 0.9622 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.5653, allocations: 2.563 MB / 0.9647 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5656, allocations: 0.7678 MB / 0.9655 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.5656, allocations: 6.188 kB / 0.9655 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.5657, allocations: 60.47 kB / 0.9655 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.5657, allocations: 1.438 kB / 0.9655 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.526/2.092, allocations: 7.645 MB / 0.973 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/18.58, allocations: 21.64 kB / 0.973 GB, free: 9.773 MB / 0.7325 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)