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.001277/0.001277, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00162/0.00162, allocations: 216.9 kB / 23.03 MB, free: 4.949 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9543/0.9543, allocations: 145 MB / 458.2 MB, free: 15.27 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="cs",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="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.00308/0.00308, allocations: 62.38 kB / 0.6339 GB, free: 6.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2086, allocations: 87.89 MB / 0.7198 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003145/0.2117, allocations: 1.425 MB / 0.7212 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004776/0.2165, allocations: 2.62 MB / 0.7237 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.2165, allocations: 4 kB / 0.7237 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.2166, allocations: 11.92 kB / 0.7237 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.2166, allocations: 11.86 kB / 0.7237 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.221, allocations: 1.644 MB / 0.7254 GB, free: 9.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.2211, allocations: 35.73 kB / 0.7254 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.2211, allocations: 7.938 kB / 0.7254 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.2212, allocations: 15.94 kB / 0.7254 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.2212, allocations: 19.86 kB / 0.7254 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.2212, allocations: 0 / 0.7254 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.2239, allocations: 1.548 MB / 0.7269 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.2239, allocations: 7.984 kB / 0.7269 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.2239, allocations: 15.88 kB / 0.727 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.2259, allocations: 1.068 MB / 0.728 GB, free: 6.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.2259, allocations: 4 kB / 0.728 GB, free: 6.301 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2259, allocations: 0 / 0.728 GB, free: 6.301 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2259, allocations: 0 / 0.728 GB, free: 6.301 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.0007446/0.2266, allocations: 468.1 kB / 0.7285 GB, free: 5.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2267, allocations: 11.97 kB / 0.7285 GB, free: 5.801 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.696e-05/0.2267, allocations: 75.47 kB / 0.7285 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.2268, allocations: 110 kB / 0.7286 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.2269, allocations: 80.22 kB / 0.7287 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.227, allocations: 199.5 kB / 0.7289 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.688e-05/0.2271, allocations: 154.9 kB / 0.7291 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.2272, allocations: 162.6 kB / 0.7292 GB, free: 5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.279e-05/0.2272, allocations: 101 kB / 0.7293 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.2273, allocations: 75.28 kB / 0.7294 GB, free: 4.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.2273, allocations: 158.6 kB / 0.7295 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-05/0.2274, allocations: 150.6 kB / 0.7297 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.253e-05/0.2275, allocations: 150.6 kB / 0.7298 GB, free: 4.367 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.2278, allocations: 429 kB / 0.7302 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.2279, allocations: 181 kB / 0.7304 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.2279, allocations: 88.12 kB / 0.7305 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.228, allocations: 75.28 kB / 0.7306 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.228, allocations: 109.8 kB / 0.7307 GB, free: 3.438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.228, allocations: 4 kB / 0.7307 GB, free: 3.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.997e-05/0.2281, allocations: 25.7 kB / 0.7307 GB, free: 3.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.2282, allocations: 134.6 kB / 0.7308 GB, free: 3.258 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.2283, allocations: 133.8 kB / 0.7309 GB, free: 3.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.2284, allocations: 25.7 kB / 0.731 GB, free: 3.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.2284, allocations: 88.14 kB / 0.7311 GB, free: 2.996 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.2284, allocations: 4 kB / 0.7311 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2285, allocations: 21.7 kB / 0.7311 GB, free: 2.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2286, allocations: 314.8 kB / 0.7314 GB, free: 2.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.2286, allocations: 4 kB / 0.7314 GB, free: 2.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.2286, allocations: 4 kB / 0.7314 GB, free: 2.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.988e-05/0.2287, allocations: 16.84 kB / 0.7314 GB, free: 2.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2287, allocations: 0 / 0.7314 GB, free: 2.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/0.2288, allocations: 53.53 kB / 0.7315 GB, free: 2.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2288, allocations: 9.719 kB / 0.7315 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.2288, allocations: 0 / 0.7315 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2288, allocations: 4 kB / 0.7315 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/0.2289, allocations: 8.047 kB / 0.7315 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2289, allocations: 3.984 kB / 0.7315 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.2289, allocations: 3.938 kB / 0.7315 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2289, allocations: 0 / 0.7315 GB, free: 2.535 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.0001082/0.229, allocations: 189.1 kB / 0.7317 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.2291, allocations: 113 kB / 0.7318 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.2291, allocations: 108.7 kB / 0.7319 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-05/0.2292, allocations: 188.2 kB / 0.7321 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-05/0.2293, allocations: 184.2 kB / 0.7322 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.711e-05/0.2294, allocations: 180.2 kB / 0.7324 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.2296, allocations: 388.2 kB / 0.7328 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.691e-05/0.2297, allocations: 108.9 kB / 0.7329 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.2297, allocations: 109 kB / 0.733 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-05/0.2298, allocations: 176.3 kB / 0.7331 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.007e-05/0.2299, allocations: 180.2 kB / 0.7333 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.551e-05/0.2299, allocations: 184.2 kB / 0.7335 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.83e-05/0.23, allocations: 180.2 kB / 0.7337 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.2302, allocations: 319.8 kB / 0.734 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.2303, allocations: 104.9 kB / 0.7341 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.2303, allocations: 180.3 kB / 0.7342 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.2304, allocations: 104.9 kB / 0.7343 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.2305, allocations: 188.2 kB / 0.7345 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.2306, allocations: 108.9 kB / 0.7346 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.602e-05/0.2306, allocations: 99.17 kB / 0.7347 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2306, allocations: 0 / 0.7347 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000834/0.2315, allocations: 287 kB / 0.735 GB, free: 14.73 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.001612/0.2331, allocations: 1.176 MB / 0.7361 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.2332, allocations: 41.7 kB / 0.7362 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2332, allocations: 0 / 0.7362 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.2332, allocations: 3.938 kB / 0.7362 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2336, allocations: 461.7 kB / 0.7366 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2353, allocations: 1.596 MB / 0.7382 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.985e-05/0.2353, allocations: 63.34 kB / 0.7382 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.341e-05/0.2353, allocations: 4.094 kB / 0.7383 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.2354, allocations: 15.44 kB / 0.7383 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.2354, allocations: 0 / 0.7383 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.2658, allocations: 7.3 MB / 0.7454 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.87, allocations: 7.562 kB / 0.7454 GB, free: 4.16 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.07757874391973] Failed to read output from testmodel.py, exit status != 0: 12.042158800992183 12.370572243 12.141642882 Calling exit ...