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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009875/0.0009876, allocations: 99.62 kB / 15.05 MB, free: 1.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.056/1.056, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003829, allocations: 8 kB / 0.516 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 83.41 MB / 0.5974 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001419/0.1986, allocations: 1.068 MB / 0.5985 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.2011, allocations: 1.628 MB / 0.6001 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.2011, allocations: 0 / 0.6001 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.44e-05/0.2012, allocations: 11.92 kB / 0.6001 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.2014, allocations: 19.95 kB / 0.6001 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.2036, allocations: 0.9093 MB / 0.601 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.2036, allocations: 31.95 kB / 0.601 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.2037, allocations: 11.92 kB / 0.601 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.2038, allocations: 27.91 kB / 0.601 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.2039, allocations: 27.92 kB / 0.6011 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.2039, allocations: 7.938 kB / 0.6011 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009429/0.2048, allocations: 0.6318 MB / 0.6017 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.2049, allocations: 63.81 kB / 0.6018 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.205, allocations: 49.58 kB / 0.6018 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.2056, allocations: 0.5538 MB / 0.6023 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2057, allocations: 0 / 0.6023 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2057, allocations: 0 / 0.6023 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2057, allocations: 0 / 0.6023 GB, free: 2.566 MB / 0.4981 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.0006437/0.2063, allocations: 0.5683 MB / 0.6029 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2064, allocations: 8.031 kB / 0.6029 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.2064, allocations: 50.48 kB / 0.603 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.2065, allocations: 23.67 kB / 0.603 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.2067, allocations: 205.7 kB / 0.6032 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2067, allocations: 0 / 0.6032 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2067, allocations: 19.86 kB / 0.6032 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2069, allocations: 101.7 kB / 0.6033 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.2069, allocations: 0 / 0.6033 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2069, allocations: 0 / 0.6033 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2069, allocations: 3.953 kB / 0.6033 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.207, allocations: 79.97 kB / 0.6034 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.2073, allocations: 277.8 kB / 0.6036 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.2074, allocations: 118.5 kB / 0.6037 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2074, allocations: 7.938 kB / 0.6038 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2075, allocations: 38.59 kB / 0.6038 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.282e-06/0.2075, allocations: 0 / 0.6038 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004665/0.2079, allocations: 422.9 kB / 0.6042 GB, free: 480 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.208, allocations: 51.41 kB / 0.6042 GB, free: 416 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.2082, allocations: 260.9 kB / 0.6045 GB, free: 148 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2083, allocations: 25.7 kB / 0.6045 GB, free: 116 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.3294/0.5377, allocations: 126 kB / 0.6046 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5379, allocations: 100.2 kB / 0.6047 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.5379, allocations: 0 / 0.6047 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.538, allocations: 343.3 kB / 0.6051 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.5382, allocations: 73.38 kB / 0.6051 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.878e-05/0.5383, allocations: 79.92 kB / 0.6052 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.5384, allocations: 103 kB / 0.6053 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5384, allocations: 0 / 0.6053 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002733/0.5387, allocations: 223.5 kB / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5387, allocations: 9.156 kB / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5388, allocations: 0 / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5388, allocations: 3.562 kB / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.5388, allocations: 0 / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5388, allocations: 3 kB / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.5389, allocations: 13.55 kB / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.5389, allocations: 0 / 0.6055 GB, free: 40.45 MB / 0.4981 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.0001356/0.539, allocations: 158.4 kB / 0.6057 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.5391, allocations: 23.56 kB / 0.6057 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.5394, allocations: 253.7 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5394, allocations: 0.6562 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5394, allocations: 1.25 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5394, allocations: 2.625 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.5396, allocations: 283.8 kB / 0.6062 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5396, allocations: 4.75 kB / 0.6062 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.5397, allocations: 0 / 0.6062 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5397, allocations: 0 / 0.6062 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.5397, allocations: 6.375 kB / 0.6062 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5397, allocations: 0 / 0.6062 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5397, allocations: 0 / 0.6062 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.5399, allocations: 263.4 kB / 0.6065 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.54, allocations: 103.6 kB / 0.6066 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.54, allocations: 7.047 kB / 0.6066 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.157e-05/0.5401, allocations: 1 kB / 0.6066 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.5401, allocations: 0 / 0.6066 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5401, allocations: 0 / 0.6066 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001559/0.5403, allocations: 193.5 kB / 0.6068 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5403, allocations: 0.8125 kB / 0.6068 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006529/0.5409, allocations: 203.2 kB / 0.607 GB, free: 39.8 MB / 0.4981 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 (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.001092/0.542, allocations: 1.026 MB / 0.608 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.5423, allocations: 260.9 kB / 0.6082 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5423, allocations: 3 kB / 0.6082 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.5425, allocations: 181 kB / 0.6084 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.5427, allocations: 19.58 kB / 0.6084 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.5444, allocations: 1.548 MB / 0.6099 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5447, allocations: 0.7737 MB / 0.6107 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.5447, allocations: 10.5 kB / 0.6107 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.5448, allocations: 52.34 kB / 0.6108 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.5448, allocations: 0 / 0.6108 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.567, allocations: 7.425 MB / 0.618 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.5672, allocations: 283 kB / 0.6183 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.51, allocations: 0 / 0.6183 GB, free: 37.02 MB / 0.4981 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) Environment - environmentSimulation: