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.001325/0.001325, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001456/0.001456, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9537/0.9537, allocations: 145 MB / 458.2 MB, free: 15.3 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.002231/0.002231, allocations: 70.41 kB / 0.6339 GB, free: 6.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1924, allocations: 87.88 MB / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005276/0.1977, allocations: 2.83 MB / 0.7225 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.2012, allocations: 1.954 MB / 0.7244 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.2016, allocations: 4 kB / 0.7244 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.2033, allocations: 457.8 kB / 0.7249 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.2038, allocations: 154.8 kB / 0.725 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.204, allocations: 63.92 kB / 0.7251 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007187/0.2047, allocations: 449.1 kB / 0.7255 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.205, allocations: 107.8 kB / 0.7256 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.2054, allocations: 175.2 kB / 0.7258 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.2056, allocations: 179.2 kB / 0.7259 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.2057, allocations: 36 kB / 0.726 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.2057, allocations: 39.94 kB / 0.726 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.2059, allocations: 99.59 kB / 0.7261 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.2061, allocations: 167.2 kB / 0.7263 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.2067, allocations: 0.5719 MB / 0.7268 GB, free: 7.488 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2067, allocations: 4 kB / 0.7268 GB, free: 7.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2067, allocations: 0 / 0.7268 GB, free: 7.484 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2067, allocations: 0 / 0.7268 GB, free: 7.484 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.001061/0.2078, allocations: 0.6369 MB / 0.7274 GB, free: 6.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2078, allocations: 16.02 kB / 0.7275 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.91e-05/0.2079, allocations: 4.625 kB / 0.7275 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.056e-05/0.2079, allocations: 58.67 kB / 0.7275 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.208, allocations: 52.61 kB / 0.7276 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.2086, allocations: 324.6 kB / 0.7279 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2087, allocations: 20.75 kB / 0.7279 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.2087, allocations: 20.38 kB / 0.7279 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.2091, allocations: 203.2 kB / 0.7281 GB, free: 6.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.2092, allocations: 0 / 0.7281 GB, free: 6.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.2092, allocations: 8 kB / 0.7281 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2092, allocations: 8 kB / 0.7281 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.2096, allocations: 169.6 kB / 0.7283 GB, free: 5.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.2108, allocations: 0.6823 MB / 0.729 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.2112, allocations: 138.6 kB / 0.7291 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.2114, allocations: 108.8 kB / 0.7292 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2114, allocations: 8 kB / 0.7292 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.2114, allocations: 34.55 kB / 0.7292 GB, free: 4.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.2114, allocations: 0 / 0.7292 GB, free: 4.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.000624/0.2121, allocations: 255.4 kB / 0.7295 GB, free: 4.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.2121, allocations: 55.41 kB / 0.7295 GB, free: 4.547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.2126, allocations: 413.7 kB / 0.7299 GB, free: 4.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.2127, allocations: 29.7 kB / 0.73 GB, free: 4.098 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.2129, allocations: 204.5 kB / 0.7301 GB, free: 3.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.2129, allocations: 71.31 kB / 0.7302 GB, free: 3.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.213, allocations: 37.7 kB / 0.7303 GB, free: 3.781 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.2132, allocations: 350.8 kB / 0.7306 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2133, allocations: 51.97 kB / 0.7306 GB, free: 3.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2135, allocations: 59.92 kB / 0.7307 GB, free: 3.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.2137, allocations: 134.5 kB / 0.7308 GB, free: 3.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2138, allocations: 0 / 0.7308 GB, free: 3.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003978/0.2141, allocations: 211.4 kB / 0.731 GB, free: 2.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.2142, allocations: 7.938 kB / 0.731 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2142, allocations: 0 / 0.731 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2142, allocations: 0 / 0.731 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.2145, allocations: 63.84 kB / 0.7311 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2145, allocations: 0 / 0.7311 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.2146, allocations: 19.88 kB / 0.7311 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2146, allocations: 4 kB / 0.7311 GB, free: 2.883 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.0001798/0.2148, allocations: 177.7 kB / 0.7313 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.2148, allocations: 39.7 kB / 0.7313 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.2149, allocations: 39.53 kB / 0.7314 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2149, allocations: 0 / 0.7314 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2149, allocations: 0 / 0.7314 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2149, allocations: 4 kB / 0.7314 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.2153, allocations: 308.5 kB / 0.7317 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2153, allocations: 0 / 0.7317 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.2156, allocations: 47.97 kB / 0.7317 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/0.2156, allocations: 11.92 kB / 0.7317 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.2156, allocations: 8 kB / 0.7317 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2156, allocations: 0 / 0.7317 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2156, allocations: 4 kB / 0.7317 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.2163, allocations: 377.6 kB / 0.7321 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.2163, allocations: 43.72 kB / 0.7321 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.2164, allocations: 11.94 kB / 0.7321 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.2165, allocations: 11.98 kB / 0.7321 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.2166, allocations: 7.984 kB / 0.7322 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2166, allocations: 12.05 kB / 0.7322 GB, free: 1.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003488/0.217, allocations: 299.2 kB / 0.7325 GB, free: 1.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.217, allocations: 0 / 0.7325 GB, free: 1.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003192/0.2173, allocations: 75.84 kB / 0.7325 GB, free: 1.371 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.0009797/0.2183, allocations: 0.9191 MB / 0.7334 GB, free: 436 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.2186, allocations: 143.8 kB / 0.7336 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2186, allocations: 0 / 0.7336 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.2188, allocations: 71.91 kB / 0.7336 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.2194, allocations: 112.6 kB / 0.7337 GB, free: 112 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.2242, allocations: 3.491 MB / 0.7371 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.2244, allocations: 194.5 kB / 0.7373 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.2246, allocations: 34.95 kB / 0.7374 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.2248, allocations: 115.4 kB / 0.7375 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.2248, allocations: 7.938 kB / 0.7375 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.2586, allocations: 8.623 MB / 0.7459 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.79, allocations: 8.047 kB / 0.7459 GB, free: 3.883 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: 16.026546529028565] Failed to read output from testmodel.py, exit status != 0: 11.961518128984608 12.394149251 12.18454247 Calling exit ...