Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7435/0.7435, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 188.7 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.1 MB / 404.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009941/0.0009942, allocations: 86.41 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.728e-05, allocations: 7.984 kB / 0.5534 GB, free: 54.64 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 76.75 MB / 0.6283 GB, free: 9.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5548/0.7131, allocations: 115.8 MB / 0.7414 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/0.7135, allocations: 117.8 kB / 0.7415 GB, free: 13.62 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:25:40-25:54:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:31:35-31:49:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:38:26-38:40:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:40:21-40:35:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:19:32-19:46:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.02516/0.7387, allocations: 8.66 MB / 0.7499 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.258e-06/0.7387, allocations: 0 / 0.7499 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.7387, allocations: 7.938 kB / 0.7499 GB, free: 5.895 MB / 0.4948 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.0006825/0.7394, allocations: 0.5596 MB / 0.7505 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.7395, allocations: 12.03 kB / 0.7505 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.7395, allocations: 53.38 kB / 0.7505 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.7396, allocations: 23.72 kB / 0.7506 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.7398, allocations: 217.6 kB / 0.7508 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.7399, allocations: 0 / 0.7508 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.7399, allocations: 3.938 kB / 0.7508 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.7401, allocations: 117 kB / 0.7509 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.7401, allocations: 0 / 0.7509 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.7401, allocations: 0 / 0.7509 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.7401, allocations: 3.953 kB / 0.7509 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.7402, allocations: 81.41 kB / 0.751 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.7405, allocations: 270.3 kB / 0.7512 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.7406, allocations: 121.1 kB / 0.7513 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.7407, allocations: 110.6 kB / 0.7514 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.7408, allocations: 0 / 0.7514 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.7408, allocations: 42.5 kB / 0.7515 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 9.12e-07/0.7408, allocations: 4 kB / 0.7515 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0003206/0.7411, allocations: 228.9 kB / 0.7517 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.7412, allocations: 55.36 kB / 0.7518 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.7414, allocations: 222.9 kB / 0.752 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.7415, allocations: 25.7 kB / 0.752 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.7415, allocations: 129.9 kB / 0.7521 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.7416, allocations: 97.91 kB / 0.7522 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.7416, allocations: 0 / 0.7522 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7418, allocations: 349.1 kB / 0.7525 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.7419, allocations: 70.53 kB / 0.7526 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.742, allocations: 74.66 kB / 0.7527 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.7421, allocations: 102.4 kB / 0.7528 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7421, allocations: 0 / 0.7528 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000253/0.7423, allocations: 236.6 kB / 0.753 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7424, allocations: 11.12 kB / 0.753 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.7424, allocations: 0 / 0.753 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7424, allocations: 0 / 0.753 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.7424, allocations: 4 kB / 0.753 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.7424, allocations: 7.984 kB / 0.753 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.7425, allocations: 19.73 kB / 0.7531 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.7425, allocations: 4 kB / 0.7531 GB, free: 2.82 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.7426, allocations: 105.7 kB / 0.7532 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.7426, allocations: 23.62 kB / 0.7532 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.7431, allocations: 0.5742 MB / 0.7537 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.53e-05/0.7432, allocations: 183.3 kB / 0.7539 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-05/0.7433, allocations: 176.3 kB / 0.7541 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.031e-05/0.7434, allocations: 184.2 kB / 0.7543 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.7438, allocations: 0.544 MB / 0.7548 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.689e-05/0.7438, allocations: 108.9 kB / 0.7549 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.7439, allocations: 105 kB / 0.755 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.119e-05/0.744, allocations: 176.3 kB / 0.7552 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.744, allocations: 184.1 kB / 0.7553 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.008e-05/0.7441, allocations: 183.5 kB / 0.7555 GB, free: 188 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.69e-05/0.7442, allocations: 184.2 kB / 0.7557 GB, free: 16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.7444, allocations: 330.7 kB / 0.756 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.7449, allocations: 361.3 kB / 0.7563 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.745, allocations: 183.1 kB / 0.7565 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.7452, allocations: 108.9 kB / 0.7566 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.7453, allocations: 176.3 kB / 0.7568 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.7454, allocations: 108.9 kB / 0.7569 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00123/0.7466, allocations: 1.129 MB / 0.758 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7466, allocations: 0 / 0.758 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008772/0.7475, allocations: 297.5 kB / 0.7583 GB, free: 13.7 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.7487, allocations: 1.108 MB / 0.7594 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.7489, allocations: 182.8 kB / 0.7595 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7489, allocations: 0 / 0.7595 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.7489, allocations: 0 / 0.7595 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.7494, allocations: 0.5385 MB / 0.7601 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.7503, allocations: 0.5231 MB / 0.7606 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.7507, allocations: 0.7589 MB / 0.7613 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.7507, allocations: 7.969 kB / 0.7613 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.7508, allocations: 56.05 kB / 0.7614 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.7508, allocations: 0 / 0.7614 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.7733, allocations: 7.435 MB / 0.7686 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.7736, allocations: 246.1 kB / 0.7689 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.89, allocations: 0 / 0.7689 GB, free: 2.918 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)