Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 109.5 kB / 19.73 MB, free: 2.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 220 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8921/0.8921, allocations: 145 MB / 458.2 MB, free: 15.57 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 66.39 kB / 0.634 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1884, allocations: 87.9 MB / 0.7198 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004544/0.1929, allocations: 3.064 MB / 0.7228 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1963, allocations: 2.203 MB / 0.725 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.1965, allocations: 11.88 kB / 0.725 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.198, allocations: 0.5016 MB / 0.7255 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.1983, allocations: 146.8 kB / 0.7256 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.1984, allocations: 63.92 kB / 0.7257 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.1989, allocations: 449.8 kB / 0.7261 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.1991, allocations: 103.8 kB / 0.7262 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1994, allocations: 179.2 kB / 0.7264 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1997, allocations: 179.2 kB / 0.7265 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.1997, allocations: 32 kB / 0.7266 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.1998, allocations: 36 kB / 0.7266 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1999, allocations: 103.6 kB / 0.7267 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.2001, allocations: 211 kB / 0.7269 GB, free: 8.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.2007, allocations: 0.568 MB / 0.7275 GB, free: 7.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2007, allocations: 4 kB / 0.7275 GB, free: 7.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2007, allocations: 0 / 0.7275 GB, free: 7.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2007, allocations: 0 / 0.7275 GB, free: 7.559 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001064/0.2018, allocations: 0.6408 MB / 0.7281 GB, free: 6.887 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2018, allocations: 8.031 kB / 0.7281 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.752e-05/0.2018, allocations: 12.55 kB / 0.7281 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.2019, allocations: 54.73 kB / 0.7282 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.202, allocations: 52.61 kB / 0.7282 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.2025, allocations: 320.6 kB / 0.7285 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2025, allocations: 20.81 kB / 0.7285 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.2026, allocations: 16.38 kB / 0.7285 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.203, allocations: 207.2 kB / 0.7287 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.203, allocations: 0 / 0.7287 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.203, allocations: 8 kB / 0.7288 GB, free: 6.164 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.203, allocations: 12 kB / 0.7288 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.2034, allocations: 169.6 kB / 0.7289 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2046, allocations: 0.8239 MB / 0.7297 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.2049, allocations: 142.6 kB / 0.7299 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.2051, allocations: 99.34 kB / 0.73 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2051, allocations: 4 kB / 0.73 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.2052, allocations: 34.88 kB / 0.73 GB, free: 4.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.2052, allocations: 0 / 0.73 GB, free: 4.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006344/0.2058, allocations: 259.1 kB / 0.7302 GB, free: 4.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.2058, allocations: 59.39 kB / 0.7303 GB, free: 4.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.2063, allocations: 417.6 kB / 0.7307 GB, free: 4.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.2064, allocations: 37.64 kB / 0.7307 GB, free: 4.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.2065, allocations: 204.5 kB / 0.7309 GB, free: 3.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.2066, allocations: 63.44 kB / 0.731 GB, free: 3.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2066, allocations: 33.7 kB / 0.731 GB, free: 3.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2068, allocations: 354.8 kB / 0.7314 GB, free: 3.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.207, allocations: 51.97 kB / 0.7314 GB, free: 3.297 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.2071, allocations: 55.92 kB / 0.7315 GB, free: 3.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.2074, allocations: 141.9 kB / 0.7316 GB, free: 3.102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2074, allocations: 0 / 0.7316 GB, free: 3.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004013/0.2078, allocations: 211.4 kB / 0.7318 GB, free: 2.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2078, allocations: 7.938 kB / 0.7318 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.2078, allocations: 3.984 kB / 0.7318 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2078, allocations: 3.938 kB / 0.7318 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.2081, allocations: 51.97 kB / 0.7319 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2081, allocations: 0 / 0.7319 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2082, allocations: 23.88 kB / 0.7319 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2082, allocations: 0 / 0.7319 GB, free: 2.801 MB / 0.545 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.2084, allocations: 171.1 kB / 0.7321 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.2085, allocations: 43.69 kB / 0.7321 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.2085, allocations: 43.47 kB / 0.7321 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2085, allocations: 0 / 0.7321 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2085, allocations: 0 / 0.7321 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2085, allocations: 0 / 0.7321 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.209, allocations: 356.4 kB / 0.7325 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.209, allocations: 3.984 kB / 0.7325 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.2092, allocations: 47.97 kB / 0.7325 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2092, allocations: 7.938 kB / 0.7325 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2092, allocations: 8 kB / 0.7325 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2092, allocations: 0 / 0.7325 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2092, allocations: 0 / 0.7325 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.2099, allocations: 376.9 kB / 0.7329 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.2099, allocations: 43.72 kB / 0.7329 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.21, allocations: 12 kB / 0.733 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.2101, allocations: 8 kB / 0.733 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.2102, allocations: 19.88 kB / 0.733 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2102, allocations: 4 kB / 0.733 GB, free: 1.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003381/0.2105, allocations: 307.1 kB / 0.7333 GB, free: 1.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2105, allocations: 0 / 0.7333 GB, free: 1.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000301/0.2108, allocations: 75.84 kB / 0.7333 GB, free: 1.242 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009107/0.2117, allocations: 0.9152 MB / 0.7342 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.2121, allocations: 144 kB / 0.7344 GB, free: 168 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2121, allocations: 4.062 kB / 0.7344 GB, free: 164 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.2123, allocations: 75.89 kB / 0.7345 GB, free: 88 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.2128, allocations: 88.14 kB / 0.7345 GB, free: 0 / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/0.2175, allocations: 3.499 MB / 0.738 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.2179, allocations: 0.795 MB / 0.7387 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.2181, allocations: 30.97 kB / 0.7388 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.2183, allocations: 119.4 kB / 0.7389 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2183, allocations: 4 kB / 0.7389 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.2503, allocations: 8.214 MB / 0.7469 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.59, allocations: 12.12 kB / 0.7469 GB, free: 3.504 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.614409142988734] Failed to read output from testmodel.py, exit status != 0: 11.7572916149511 12.090659447 11.886571654 Calling exit ...