Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 443.5 MB / 0.7287 GB, free: 13.39 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002951/0.002951, allocations: 67.91 kB / 1.056 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.8077, allocations: 160.7 MB / 1.213 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00287/0.8105, allocations: 1.436 MB / 1.214 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004735/0.8153, allocations: 2.872 MB / 1.217 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.8153, allocations: 1.094 kB / 1.217 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.8153, allocations: 3.938 kB / 1.217 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.8154, allocations: 18.03 kB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004391/0.8198, allocations: 1.565 MB / 1.219 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.8199, allocations: 49.89 kB / 1.219 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.8199, allocations: 6.609 kB / 1.219 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/0.82, allocations: 11.38 kB / 1.219 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.628e-05/0.82, allocations: 15.19 kB / 1.219 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.82, allocations: 1.531 kB / 1.219 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.8226, allocations: 1.533 MB / 1.22 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.8227, allocations: 10.53 kB / 1.22 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.8227, allocations: 14.44 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.8247, allocations: 1.085 MB / 1.221 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8247, allocations: 4 kB / 1.221 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8247, allocations: 0 / 1.221 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8247, allocations: 0 / 1.221 GB, free: 13.92 MB / 0.9356 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.000796/0.8255, allocations: 0.5311 MB / 1.222 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.8256, allocations: 9.094 kB / 1.222 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.8256, allocations: 107.4 kB / 1.222 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.8257, allocations: 81.2 kB / 1.222 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.8259, allocations: 256.3 kB / 1.222 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.8259, allocations: 156.3 kB / 1.223 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.826, allocations: 154.9 kB / 1.223 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.931e-05/0.8261, allocations: 106.7 kB / 1.223 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.8261, allocations: 75.28 kB / 1.223 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.8261, allocations: 154.5 kB / 1.223 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.8262, allocations: 154.6 kB / 1.223 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.8263, allocations: 151.8 kB / 1.223 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.8266, allocations: 464.5 kB / 1.224 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.089e-05/0.8267, allocations: 166.7 kB / 1.224 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.8267, allocations: 80.14 kB / 1.224 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.8268, allocations: 84.5 kB / 1.224 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.8268, allocations: 111.2 kB / 1.224 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.8268, allocations: 0 / 1.224 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.253e-05/0.8269, allocations: 36.38 kB / 1.224 GB, free: 11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.827, allocations: 130.6 kB / 1.224 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.8271, allocations: 133 kB / 1.224 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.8271, allocations: 29.7 kB / 1.224 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.8272, allocations: 94.97 kB / 1.225 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.8272, allocations: 0 / 1.225 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.8272, allocations: 15.31 kB / 1.225 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8273, allocations: 316 kB / 1.225 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.8274, allocations: 6.422 kB / 1.225 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.8274, allocations: 7.375 kB / 1.225 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.8274, allocations: 14.58 kB / 1.225 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8274, allocations: 4.031 kB / 1.225 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001294/0.8275, allocations: 59.17 kB / 1.225 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.8276, allocations: 4.969 kB / 1.225 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.8276, allocations: 2.438 kB / 1.225 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.8276, allocations: 1.031 kB / 1.225 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.113e-06/0.8276, allocations: 0 / 1.225 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.8276, allocations: 0 / 1.225 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.8276, allocations: 5.219 kB / 1.225 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.8276, allocations: 1.031 kB / 1.225 GB, free: 10.2 MB / 0.9356 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.0001046/0.8277, allocations: 187.4 kB / 1.225 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.8278, allocations: 116 kB / 1.225 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.8279, allocations: 118.3 kB / 1.225 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/0.8279, allocations: 181.6 kB / 1.226 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.991e-05/0.828, allocations: 181.1 kB / 1.226 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.884e-05/0.8281, allocations: 177.2 kB / 1.226 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.8283, allocations: 424.6 kB / 1.226 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.625e-05/0.8284, allocations: 104.9 kB / 1.226 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.8284, allocations: 102.2 kB / 1.226 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-05/0.8285, allocations: 181.3 kB / 1.227 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/0.8286, allocations: 177.7 kB / 1.227 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.145e-05/0.8286, allocations: 184.2 kB / 1.227 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-05/0.8287, allocations: 181.5 kB / 1.227 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.8289, allocations: 312.9 kB / 1.227 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.829, allocations: 179.3 kB / 1.228 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.829, allocations: 185.6 kB / 1.228 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.8291, allocations: 110.1 kB / 1.228 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.8292, allocations: 177.6 kB / 1.228 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.8292, allocations: 114 kB / 1.228 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.8293, allocations: 101.9 kB / 1.228 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8293, allocations: 0 / 1.228 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008807/0.8302, allocations: 286.6 kB / 1.229 GB, free: 6.508 MB / 0.9356 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.001596/0.8318, allocations: 1.164 MB / 1.23 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.8319, allocations: 41.36 kB / 1.23 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8319, allocations: 0 / 1.23 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-06/0.8319, allocations: 4.062 kB / 1.23 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.8324, allocations: 461.4 kB / 1.23 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.834, allocations: 1.592 MB / 1.232 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.8343, allocations: 0.6808 MB / 1.232 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.8344, allocations: 5.375 kB / 1.232 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.8344, allocations: 14.81 kB / 1.232 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/0.8344, allocations: 0 / 1.232 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.8667, allocations: 6.914 MB / 1.239 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.98, allocations: 15.84 kB / 1.239 GB, free: 13.02 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.705093652941287] Failed to read output from testmodel.py, exit status != 0: 9.05384784983471 9.078919923 8.24945748 Calling exit ...