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.InternalResistancesOneUTubeNegative.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.001452/0.001452, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001683/0.001683, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.992 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.8712/0.8712, allocations: 145 MB / 457.4 MB, free: 15.54 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.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",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.001909/0.001909, allocations: 67.42 kB / 0.6333 GB, free: 7.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1577, allocations: 87.89 MB / 0.7191 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002449/0.1601, allocations: 1.452 MB / 0.7205 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004296/0.1644, allocations: 2.954 MB / 0.7234 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.1644, allocations: 0 / 0.7234 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.1644, allocations: 3.938 kB / 0.7234 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.1645, allocations: 19.86 kB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.1682, allocations: 1.684 MB / 0.7251 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.1683, allocations: 39.73 kB / 0.7251 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.1683, allocations: 7.938 kB / 0.7251 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.1683, allocations: 15.98 kB / 0.7251 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.577e-05/0.1684, allocations: 15.86 kB / 0.7251 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.1684, allocations: 4 kB / 0.7251 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.1707, allocations: 1.708 MB / 0.7268 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.1707, allocations: 4 kB / 0.7268 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1707, allocations: 23.86 kB / 0.7268 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.1721, allocations: 1.114 MB / 0.7279 GB, free: 6.273 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1721, allocations: 0 / 0.7279 GB, free: 6.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1721, allocations: 0 / 0.7279 GB, free: 6.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.1721, allocations: 0 / 0.7279 GB, free: 6.273 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005413/0.1727, allocations: 468.1 kB / 0.7284 GB, free: 5.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1727, allocations: 12.03 kB / 0.7284 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.1727, allocations: 106 kB / 0.7285 GB, free: 5.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.1728, allocations: 80.17 kB / 0.7285 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.173, allocations: 209.7 kB / 0.7287 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.173, allocations: 154.9 kB / 0.7289 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.1731, allocations: 150.9 kB / 0.729 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.49e-05/0.1731, allocations: 108.9 kB / 0.7291 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.1732, allocations: 75.28 kB / 0.7292 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.1732, allocations: 154.6 kB / 0.7294 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.1733, allocations: 154.6 kB / 0.7295 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.1734, allocations: 154.5 kB / 0.7297 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.1737, allocations: 429 kB / 0.7301 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1738, allocations: 173.1 kB / 0.7302 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.1738, allocations: 92.12 kB / 0.7303 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.1738, allocations: 79.22 kB / 0.7304 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/0.1739, allocations: 109.9 kB / 0.7305 GB, free: 3.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1739, allocations: 0 / 0.7305 GB, free: 3.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.014e-05/0.174, allocations: 33.66 kB / 0.7305 GB, free: 3.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.1741, allocations: 126.7 kB / 0.7307 GB, free: 3.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1742, allocations: 139.5 kB / 0.7308 GB, free: 3.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1742, allocations: 25.7 kB / 0.7308 GB, free: 3.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1743, allocations: 96.03 kB / 0.7309 GB, free: 3.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.1743, allocations: 0 / 0.7309 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.1743, allocations: 21.7 kB / 0.7309 GB, free: 3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1744, allocations: 314.8 kB / 0.7312 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.1745, allocations: 4 kB / 0.7312 GB, free: 2.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.1745, allocations: 7.984 kB / 0.7312 GB, free: 2.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.1745, allocations: 20.83 kB / 0.7313 GB, free: 2.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1745, allocations: 0 / 0.7313 GB, free: 2.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.1746, allocations: 45.64 kB / 0.7313 GB, free: 2.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1746, allocations: 4 kB / 0.7313 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.1746, allocations: 7.984 kB / 0.7313 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1747, allocations: 0 / 0.7313 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1747, allocations: 0 / 0.7313 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.1747, allocations: 3.938 kB / 0.7313 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.1747, allocations: 3.953 kB / 0.7313 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.1747, allocations: 4 kB / 0.7313 GB, free: 2.574 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001/0.1748, allocations: 185.2 kB / 0.7315 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.1749, allocations: 112.9 kB / 0.7316 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.1749, allocations: 108.8 kB / 0.7317 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.375e-05/0.175, allocations: 184.2 kB / 0.7319 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-05/0.1751, allocations: 176.3 kB / 0.7321 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-05/0.1751, allocations: 184.2 kB / 0.7322 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.1754, allocations: 388.2 kB / 0.7326 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/0.1754, allocations: 105 kB / 0.7327 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.1755, allocations: 104.9 kB / 0.7328 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-05/0.1756, allocations: 184.2 kB / 0.733 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.1756, allocations: 184.2 kB / 0.7332 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.276e-05/0.1757, allocations: 180.3 kB / 0.7333 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.425e-05/0.1758, allocations: 180.2 kB / 0.7335 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1759, allocations: 315.7 kB / 0.7338 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.176, allocations: 116.9 kB / 0.7339 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.1761, allocations: 184.3 kB / 0.7341 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/0.1762, allocations: 108.9 kB / 0.7342 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.1762, allocations: 176.3 kB / 0.7344 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.1763, allocations: 101 kB / 0.7345 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.1764, allocations: 105.3 kB / 0.7346 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1764, allocations: 0 / 0.7346 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007637/0.1771, allocations: 287 kB / 0.7348 GB, free: 14.78 MB / 0.5606 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 (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.001284/0.1784, allocations: 1.182 MB / 0.736 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.1785, allocations: 45.7 kB / 0.736 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1785, allocations: 0 / 0.736 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.1785, allocations: 0 / 0.736 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1789, allocations: 463.6 kB / 0.7365 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1803, allocations: 1.582 MB / 0.738 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1806, allocations: 0.6884 MB / 0.7387 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.386e-05/0.1806, allocations: 4.031 kB / 0.7387 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.1807, allocations: 19.38 kB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1807, allocations: 0 / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.2148, allocations: 7.189 MB / 0.7457 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.92, allocations: 7.312 kB / 0.7457 GB, free: 3.672 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.636221566004679] Failed to read output from testmodel.py, exit status != 0: 11.02148402389139 11.287474392 11.112723511 Calling exit ...