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.7758/0.7758, allocations: 128.7 MB / 143.7 MB, free: 2.285 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 190.4 kB / 173.8 MB, free: 6.102 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.659/1.659, allocations: 205.4 MB / 409 MB, free: 10.48 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.001215/0.001214, allocations: 91.67 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003232, allocations: 9.844 kB / 0.5605 GB, free: 97.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 76.77 MB / 0.6355 GB, free: 30.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6452, allocations: 115.8 MB / 0.7486 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.6456, allocations: 118.1 kB / 0.7487 GB, free: 109.8 MB / 0.5105 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.0239/0.6695, allocations: 8.713 MB / 0.7572 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6695, allocations: 0 / 0.7572 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.6696, allocations: 7.406 kB / 0.7572 GB, free: 106.2 MB / 0.5105 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.0009734/0.6705, allocations: 0.5936 MB / 0.7578 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.6706, allocations: 8.938 kB / 0.7578 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.331e-05/0.6707, allocations: 47.59 kB / 0.7579 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.6707, allocations: 26.59 kB / 0.7579 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.671, allocations: 219.1 kB / 0.7581 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-06/0.671, allocations: 3.938 kB / 0.7581 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.671, allocations: 0 / 0.7581 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.6712, allocations: 115.9 kB / 0.7582 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6712, allocations: 0 / 0.7582 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.6713, allocations: 0 / 0.7582 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.6713, allocations: 5.359 kB / 0.7582 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.6714, allocations: 72.25 kB / 0.7583 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.6717, allocations: 274.3 kB / 0.7585 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.6719, allocations: 122.4 kB / 0.7587 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.6719, allocations: 1.281 kB / 0.7587 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.672, allocations: 39.72 kB / 0.7587 GB, free: 105 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.672, allocations: 0 / 0.7587 GB, free: 105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.0005877/0.6726, allocations: 436.2 kB / 0.7591 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.6726, allocations: 59.34 kB / 0.7592 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.6729, allocations: 226.5 kB / 0.7594 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.6729, allocations: 25.7 kB / 0.7594 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.673, allocations: 127.7 kB / 0.7595 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.6731, allocations: 101.8 kB / 0.7596 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.6731, allocations: 11.34 kB / 0.7596 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.6732, allocations: 340.2 kB / 0.76 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.6733, allocations: 77.92 kB / 0.76 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.433e-05/0.6734, allocations: 75.89 kB / 0.7601 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.6735, allocations: 102 kB / 0.7602 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6735, allocations: 3.938 kB / 0.7602 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002797/0.6738, allocations: 225.1 kB / 0.7604 GB, free: 104 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6738, allocations: 5.094 kB / 0.7604 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.6738, allocations: 5.234 kB / 0.7604 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6738, allocations: 1.219 kB / 0.7604 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.6739, allocations: 4 kB / 0.7604 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.6739, allocations: 1.312 kB / 0.7604 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.6739, allocations: 17.02 kB / 0.7605 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.674, allocations: 3.438 kB / 0.7605 GB, free: 104 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.6741, allocations: 162.7 kB / 0.7606 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.6741, allocations: 24.98 kB / 0.7606 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/0.6746, allocations: 0.5705 MB / 0.7612 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/0.6746, allocations: 179.6 kB / 0.7614 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/0.6747, allocations: 177.5 kB / 0.7615 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.6747, allocations: 186.3 kB / 0.7617 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.6751, allocations: 0.5382 MB / 0.7622 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.6751, allocations: 111 kB / 0.7624 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.6751, allocations: 101 kB / 0.7625 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.223e-05/0.6752, allocations: 188.8 kB / 0.7626 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.6752, allocations: 188.2 kB / 0.7628 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.064e-05/0.6752, allocations: 178.6 kB / 0.763 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.184e-05/0.6753, allocations: 180.2 kB / 0.7632 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.6755, allocations: 341.9 kB / 0.7635 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.676, allocations: 357.2 kB / 0.7638 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6762, allocations: 178.6 kB / 0.764 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.6763, allocations: 108.7 kB / 0.7641 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.6763, allocations: 185.5 kB / 0.7643 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.6764, allocations: 106.1 kB / 0.7644 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001434/0.6778, allocations: 1.139 MB / 0.7655 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6778, allocations: 0 / 0.7655 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001208/0.679, allocations: 300 kB / 0.7658 GB, free: 99.84 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 () * Number of clocked 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.001527/0.6806, allocations: 1.103 MB / 0.7668 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.6809, allocations: 179 kB / 0.767 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6809, allocations: 3.938 kB / 0.767 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.6809, allocations: 1.219 kB / 0.767 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.6813, allocations: 0.5356 MB / 0.7675 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.6842, allocations: 1.63 MB / 0.7691 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.6845, allocations: 0.7617 MB / 0.7699 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.6846, allocations: 2.281 kB / 0.7699 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.6846, allocations: 59.34 kB / 0.7699 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.6846, allocations: 0 / 0.7699 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.7091, allocations: 7.38 MB / 0.7771 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.7093, allocations: 280.4 kB / 0.7774 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.027, allocations: 0 / 0.7774 GB, free: 91.6 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)