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.989/0.989, allocations: 128.7 MB / 143.7 MB, free: 2.316 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.001054/0.001054, allocations: 192 kB / 173.7 MB, free: 6.133 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.721/1.721, allocations: 205.4 MB / 409 MB, free: 10.52 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.000879/0.0008792, allocations: 78.92 kB / 486.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 13.19 kB / 0.5605 GB, free: 97.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 76.77 MB / 0.6355 GB, free: 30.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5868, allocations: 115.8 MB / 0.7486 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.5872, allocations: 121.2 kB / 0.7487 GB, free: 109.9 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_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.02132/0.6085, allocations: 8.176 MB / 0.7567 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6085, allocations: 0 / 0.7567 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.6086, allocations: 1.344 kB / 0.7567 GB, free: 106.6 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005622/0.6091, allocations: 0.4929 MB / 0.7572 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6092, allocations: 12.84 kB / 0.7572 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.6092, allocations: 43.88 kB / 0.7572 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.6092, allocations: 6.875 kB / 0.7572 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.6094, allocations: 191.9 kB / 0.7574 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.6094, allocations: 0 / 0.7574 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.6094, allocations: 0 / 0.7574 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.6096, allocations: 53.06 kB / 0.7575 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6096, allocations: 0 / 0.7575 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.6096, allocations: 5.531 kB / 0.7575 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6096, allocations: 4.703 kB / 0.7575 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.6097, allocations: 28.03 kB / 0.7575 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.6098, allocations: 185.2 kB / 0.7577 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.616e-05/0.6099, allocations: 44.97 kB / 0.7577 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.6099, allocations: 1.406 kB / 0.7577 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.61, allocations: 36.03 kB / 0.7578 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.61, allocations: 4 kB / 0.7578 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002599/0.6102, allocations: 197.1 kB / 0.758 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.6103, allocations: 59.05 kB / 0.758 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.6104, allocations: 136.7 kB / 0.7581 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.6104, allocations: 25.7 kB / 0.7582 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.6105, allocations: 101.2 kB / 0.7583 GB, free: 105 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.6105, allocations: 26.56 kB / 0.7583 GB, free: 105 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.6105, allocations: 0 / 0.7583 GB, free: 105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.6106, allocations: 326.6 kB / 0.7586 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.6106, allocations: 24.48 kB / 0.7586 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.6107, allocations: 25.45 kB / 0.7586 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/0.6107, allocations: 28.86 kB / 0.7587 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6107, allocations: 1.188 kB / 0.7587 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001366/0.6109, allocations: 96.08 kB / 0.7588 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6109, allocations: 5.312 kB / 0.7588 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.6109, allocations: 2.625 kB / 0.7588 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.6109, allocations: 0 / 0.7588 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-06/0.6109, allocations: 4.625 kB / 0.7588 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6109, allocations: 5.156 kB / 0.7588 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.611, allocations: 5.359 kB / 0.7588 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.611, allocations: 5.984 kB / 0.7588 GB, free: 104.6 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 7.886e-05/0.6111, allocations: 124.7 kB / 0.7589 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.6111, allocations: 10.53 kB / 0.7589 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.6113, allocations: 206.5 kB / 0.7591 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/0.6113, allocations: 181.8 kB / 0.7593 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.599e-05/0.6114, allocations: 189.3 kB / 0.7595 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.6114, allocations: 177.4 kB / 0.7596 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.6116, allocations: 439 kB / 0.7601 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.6116, allocations: 110.2 kB / 0.7602 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.6117, allocations: 102.1 kB / 0.7603 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/0.6117, allocations: 189.5 kB / 0.7604 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.6117, allocations: 184 kB / 0.7606 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-05/0.6118, allocations: 180.6 kB / 0.7608 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.987e-05/0.6118, allocations: 180.2 kB / 0.761 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.903e-05/0.6119, allocations: 322.8 kB / 0.7613 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.612, allocations: 216.2 kB / 0.7615 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.6121, allocations: 177.4 kB / 0.7616 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.6122, allocations: 110.1 kB / 0.7617 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.6122, allocations: 177.3 kB / 0.7619 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.6123, allocations: 109.7 kB / 0.762 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002534/0.6125, allocations: 264.3 kB / 0.7623 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6125, allocations: 0 / 0.7623 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006549/0.6132, allocations: 244.6 kB / 0.7625 GB, free: 101 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.001108/0.6143, allocations: 1.076 MB / 0.7636 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.6144, allocations: 75.2 kB / 0.7636 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6145, allocations: 4.062 kB / 0.7636 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.6145, allocations: 0 / 0.7636 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.6147, allocations: 0.532 MB / 0.7642 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.6161, allocations: 0.869 MB / 0.765 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.6163, allocations: 0.7039 MB / 0.7657 GB, free: 98.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.6163, allocations: 5.219 kB / 0.7657 GB, free: 98.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.6163, allocations: 19.78 kB / 0.7657 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.6164, allocations: 0 / 0.7657 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.6393, allocations: 5.629 MB / 0.7712 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.6396, allocations: 279.2 kB / 0.7715 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.44, allocations: 3.938 kB / 0.7715 GB, free: 95.07 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)