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_OneUTube.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_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.7293/0.7293, 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.001201/0.001201, allocations: 188.8 kB / 169.7 MB, free: 1.719 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.675/1.675, 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.0008622/0.0008622, allocations: 90.17 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.517e-05, allocations: 7.984 kB / 0.5534 GB, free: 54.65 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1617, allocations: 76.76 MB / 0.6283 GB, free: 9.836 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5328/0.6946, allocations: 115.7 MB / 0.7414 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.695, allocations: 120.9 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_OneUTube.mo:32:26-32: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_OneUTube.mo:34:21-34: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_OneUTube.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.02317/0.7181, allocations: 8.124 MB / 0.7494 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7182, allocations: 0 / 0.7494 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.7182, allocations: 0 / 0.7494 GB, free: 6.383 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006806/0.7189, allocations: 485 kB / 0.7499 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.7189, allocations: 8.031 kB / 0.7499 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.719, allocations: 42.5 kB / 0.7499 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.719, allocations: 11.91 kB / 0.7499 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.7192, allocations: 185 kB / 0.7501 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.7192, allocations: 4 kB / 0.7501 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.7192, allocations: 0 / 0.7501 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.7194, allocations: 61.23 kB / 0.7502 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7194, allocations: 0 / 0.7502 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.7194, allocations: 0 / 0.7502 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.7194, allocations: 3.953 kB / 0.7502 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.994e-05/0.7195, allocations: 31.61 kB / 0.7502 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.7197, allocations: 192.2 kB / 0.7504 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.744e-05/0.7198, allocations: 45.75 kB / 0.7504 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.7198, allocations: 32.19 kB / 0.7505 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.7198, allocations: 0 / 0.7505 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.7199, allocations: 38.48 kB / 0.7505 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.7199, allocations: 0 / 0.7505 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001792/0.7201, allocations: 88.2 kB / 0.7506 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.7201, allocations: 59.39 kB / 0.7506 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.7203, allocations: 143.6 kB / 0.7508 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.7203, allocations: 25.7 kB / 0.7508 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.7203, allocations: 94.02 kB / 0.7509 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.7204, allocations: 34.94 kB / 0.7509 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.7204, allocations: 0 / 0.7509 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7205, allocations: 322.4 kB / 0.7512 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.7206, allocations: 23.36 kB / 0.7512 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.7206, allocations: 31.48 kB / 0.7513 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.7207, allocations: 23.98 kB / 0.7513 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7207, allocations: 3.938 kB / 0.7513 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001238/0.7208, allocations: 96.44 kB / 0.7514 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7208, allocations: 4 kB / 0.7514 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/0.7209, allocations: 4.625 kB / 0.7514 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7209, allocations: 0 / 0.7514 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.7209, allocations: 0 / 0.7514 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.7209, allocations: 0 / 0.7514 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.7209, allocations: 3.953 kB / 0.7514 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.721, allocations: 4 kB / 0.7514 GB, free: 4.184 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 6.351e-05/0.721, allocations: 105 kB / 0.7515 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.7211, allocations: 15.8 kB / 0.7515 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.7213, allocations: 202.5 kB / 0.7517 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-05/0.7214, allocations: 177 kB / 0.7519 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-05/0.7214, allocations: 183.9 kB / 0.7521 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.362e-05/0.7215, allocations: 188.2 kB / 0.7522 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.7218, allocations: 439.7 kB / 0.7527 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-05/0.7219, allocations: 108.5 kB / 0.7528 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.7219, allocations: 101 kB / 0.7529 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-05/0.722, allocations: 184.2 kB / 0.753 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.722, allocations: 184.2 kB / 0.7532 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.181e-05/0.7221, allocations: 180.3 kB / 0.7534 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.465e-05/0.7222, allocations: 180.2 kB / 0.7536 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.7224, allocations: 318.5 kB / 0.7539 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.7225, allocations: 220.4 kB / 0.7541 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.363e-05/0.7226, allocations: 184.2 kB / 0.7542 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.7227, allocations: 108.9 kB / 0.7544 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.7228, allocations: 180.3 kB / 0.7545 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.7229, allocations: 108.5 kB / 0.7546 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002457/0.7231, allocations: 257 kB / 0.7549 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7231, allocations: 4 kB / 0.7549 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008447/0.724, allocations: 238.4 kB / 0.7551 GB, free: 280 kB / 0.4948 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.00115/0.7251, allocations: 1.089 MB / 0.7562 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.7253, allocations: 64.81 kB / 0.7562 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7253, allocations: 0 / 0.7562 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.7253, allocations: 0 / 0.7562 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.7257, allocations: 0.5413 MB / 0.7568 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.7262, allocations: 347.1 kB / 0.7571 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.7265, allocations: 0.7082 MB / 0.7578 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.566e-05/0.7266, allocations: 4 kB / 0.7578 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.7266, allocations: 22.19 kB / 0.7578 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.7266, allocations: 0 / 0.7578 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.745, allocations: 5.676 MB / 0.7633 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.7453, allocations: 249.9 kB / 0.7636 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.518, allocations: 0 / 0.7636 GB, free: 7.574 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)