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.001458/0.001458, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001766/0.001766, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.801 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.9176/0.9176, allocations: 145 MB / 457.4 MB, free: 15.29 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.002115/0.002115, allocations: 70.48 kB / 0.6332 GB, free: 6.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1948, allocations: 87.9 MB / 0.719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00289/0.1977, allocations: 1.415 MB / 0.7204 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004572/0.2022, allocations: 2.639 MB / 0.723 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.2023, allocations: 0 / 0.723 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.2023, allocations: 3.938 kB / 0.723 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.2024, allocations: 23.78 kB / 0.723 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.2065, allocations: 1.609 MB / 0.7246 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.507e-05/0.2066, allocations: 43.73 kB / 0.7246 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.2066, allocations: 7.922 kB / 0.7246 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.2067, allocations: 15.92 kB / 0.7246 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.2067, allocations: 15.94 kB / 0.7246 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2067, allocations: 0 / 0.7246 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.2091, allocations: 1.451 MB / 0.7261 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.2091, allocations: 3.938 kB / 0.7261 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.2091, allocations: 19.94 kB / 0.7261 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.2108, allocations: 1.064 MB / 0.7271 GB, free: 6.449 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2108, allocations: 0 / 0.7271 GB, free: 6.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2108, allocations: 0 / 0.7271 GB, free: 6.449 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2108, allocations: 0 / 0.7271 GB, free: 6.449 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.0006812/0.2115, allocations: 464.1 kB / 0.7276 GB, free: 5.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2115, allocations: 15.97 kB / 0.7276 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.523e-05/0.2116, allocations: 106 kB / 0.7277 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.2117, allocations: 80.2 kB / 0.7278 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.2118, allocations: 201.7 kB / 0.728 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.2119, allocations: 154.9 kB / 0.7281 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.212, allocations: 154.9 kB / 0.7283 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.794e-05/0.212, allocations: 108.9 kB / 0.7284 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.2121, allocations: 79.28 kB / 0.7284 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/0.2122, allocations: 150.6 kB / 0.7286 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/0.2122, allocations: 154.5 kB / 0.7287 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.2123, allocations: 154.5 kB / 0.7289 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.2126, allocations: 437 kB / 0.7293 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.2128, allocations: 165.1 kB / 0.7294 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.2128, allocations: 80.19 kB / 0.7295 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.2128, allocations: 83.22 kB / 0.7296 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.551e-05/0.2129, allocations: 121.8 kB / 0.7297 GB, free: 3.652 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2129, allocations: 0 / 0.7297 GB, free: 3.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.063e-05/0.213, allocations: 25.7 kB / 0.7297 GB, free: 3.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.2131, allocations: 130.7 kB / 0.7299 GB, free: 3.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.2132, allocations: 131.5 kB / 0.73 GB, free: 3.344 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2133, allocations: 25.7 kB / 0.73 GB, free: 3.312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.2133, allocations: 96.12 kB / 0.7301 GB, free: 3.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.2133, allocations: 0 / 0.7301 GB, free: 3.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.2134, allocations: 13.72 kB / 0.7301 GB, free: 3.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2135, allocations: 318.8 kB / 0.7304 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.2135, allocations: 8 kB / 0.7304 GB, free: 2.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.2135, allocations: 8 kB / 0.7304 GB, free: 2.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.2136, allocations: 12.8 kB / 0.7304 GB, free: 2.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2136, allocations: 0 / 0.7304 GB, free: 2.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.2137, allocations: 57.58 kB / 0.7305 GB, free: 2.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2137, allocations: 4 kB / 0.7305 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.2138, allocations: 4 kB / 0.7305 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2138, allocations: 0 / 0.7305 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.2138, allocations: 0 / 0.7305 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2138, allocations: 3.938 kB / 0.7305 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.2138, allocations: 3.938 kB / 0.7305 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.2138, allocations: 4.062 kB / 0.7305 GB, free: 2.762 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.0001234/0.2139, allocations: 189.1 kB / 0.7307 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.214, allocations: 120.8 kB / 0.7308 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.2141, allocations: 108.8 kB / 0.7309 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-05/0.2142, allocations: 184.2 kB / 0.7311 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.201e-05/0.2142, allocations: 176.3 kB / 0.7313 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.231e-05/0.2143, allocations: 176.3 kB / 0.7314 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.2146, allocations: 396.2 kB / 0.7318 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.631e-05/0.2146, allocations: 105 kB / 0.7319 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.2147, allocations: 108.9 kB / 0.732 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-05/0.2148, allocations: 180.3 kB / 0.7322 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/0.2148, allocations: 180.3 kB / 0.7324 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.566e-05/0.2149, allocations: 188.1 kB / 0.7325 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-05/0.215, allocations: 180.3 kB / 0.7327 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.2152, allocations: 311.7 kB / 0.733 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.2153, allocations: 112.9 kB / 0.7331 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/0.2154, allocations: 184.2 kB / 0.7333 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.2154, allocations: 101 kB / 0.7334 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.2155, allocations: 184.2 kB / 0.7336 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.2156, allocations: 101 kB / 0.7337 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.2156, allocations: 105.3 kB / 0.7338 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2156, allocations: 4 kB / 0.7338 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009507/0.2166, allocations: 291 kB / 0.734 GB, free: 14.95 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.001443/0.218, allocations: 1.171 MB / 0.7352 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.2182, allocations: 41.7 kB / 0.7352 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2182, allocations: 0 / 0.7352 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.2182, allocations: 0 / 0.7352 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.2186, allocations: 463.7 kB / 0.7357 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2203, allocations: 1.592 MB / 0.7372 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.219e-05/0.2203, allocations: 67.28 kB / 0.7373 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.382e-05/0.2203, allocations: 0 / 0.7373 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.2204, allocations: 19.42 kB / 0.7373 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.2204, allocations: 0 / 0.7373 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0396/0.26, allocations: 7.658 MB / 0.7448 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.55, allocations: 5.391 kB / 0.7448 GB, free: 4.012 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: 15.575359619688243] Failed to read output from testmodel.py, exit status != 0: 11.657418677583337 11.976703292 11.762466537 Calling exit ...