Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001269/0.001269, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001373/0.001373, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002486/0.002486, allocations: 284.2 kB / 309.8 MB, free: 3.438 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.057/1.057, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003091/0.003091, allocations: 103.8 kB / 0.7348 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.49, allocations: 95.34 MB / 0.8279 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002416/0.4924, allocations: 1.456 MB / 0.8293 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003419/0.4959, allocations: 2.934 MB / 0.8322 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.4959, allocations: 0 / 0.8322 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.4959, allocations: 5.953 kB / 0.8322 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.496, allocations: 20.12 kB / 0.8322 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.4998, allocations: 1.624 MB / 0.8338 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.104e-05/0.4999, allocations: 38.66 kB / 0.8338 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.4999, allocations: 0.6562 kB / 0.8338 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.4999, allocations: 13.39 kB / 0.8338 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.986e-05/0.5, allocations: 22.31 kB / 0.8338 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.5, allocations: 0 / 0.8338 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.5023, allocations: 1.559 MB / 0.8354 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.5023, allocations: 3.109 kB / 0.8354 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.5024, allocations: 22.81 kB / 0.8354 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.5039, allocations: 1.105 MB / 0.8365 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5039, allocations: 0 / 0.8365 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5039, allocations: 0 / 0.8365 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.5039, allocations: 1.062 kB / 0.8365 GB, free: 14.32 MB / 0.5919 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.0006802/0.5046, allocations: 0.5358 MB / 0.837 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5046, allocations: 8.969 kB / 0.837 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.909e-05/0.5047, allocations: 75.47 kB / 0.8371 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.5047, allocations: 110 kB / 0.8372 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.5048, allocations: 81.92 kB / 0.8372 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.505, allocations: 252.1 kB / 0.8375 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.505, allocations: 150.9 kB / 0.8376 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/0.5051, allocations: 154.7 kB / 0.8378 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.158e-05/0.5052, allocations: 106.3 kB / 0.8379 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.5052, allocations: 83.22 kB / 0.838 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.5052, allocations: 152.2 kB / 0.8381 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/0.5053, allocations: 150.6 kB / 0.8382 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.5054, allocations: 150.6 kB / 0.8384 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.5057, allocations: 470 kB / 0.8388 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.996e-05/0.5058, allocations: 175.3 kB / 0.839 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.5058, allocations: 88.02 kB / 0.8391 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.5058, allocations: 75.28 kB / 0.8392 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.5059, allocations: 107.1 kB / 0.8393 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.5059, allocations: 0 / 0.8393 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.54e-05/0.506, allocations: 43 kB / 0.8393 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.506, allocations: 127.8 kB / 0.8394 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.5062, allocations: 127.6 kB / 0.8395 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.5062, allocations: 25.7 kB / 0.8396 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.5062, allocations: 98.31 kB / 0.8397 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.5062, allocations: 0 / 0.8397 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.5063, allocations: 15.06 kB / 0.8397 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5064, allocations: 317.4 kB / 0.84 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.5064, allocations: 11.34 kB / 0.84 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.536e-05/0.5064, allocations: 3.281 kB / 0.84 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.5065, allocations: 18.73 kB / 0.84 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5065, allocations: 4 kB / 0.84 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/0.5066, allocations: 52.61 kB / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5066, allocations: 3.938 kB / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.5066, allocations: 8.031 kB / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5066, allocations: 0 / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.5066, allocations: 0 / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.5066, allocations: 64 / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.5067, allocations: 13.42 kB / 0.8401 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.5067, allocations: 1.438 kB / 0.8401 GB, free: 10.56 MB / 0.5919 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.0001096/0.5068, allocations: 190.3 kB / 0.8403 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.5068, allocations: 106 kB / 0.8404 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.5069, allocations: 111.7 kB / 0.8405 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.351e-05/0.507, allocations: 182.4 kB / 0.8407 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.111e-05/0.5071, allocations: 181.5 kB / 0.8408 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/0.5071, allocations: 185.7 kB / 0.841 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.5074, allocations: 416.1 kB / 0.8414 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.372e-05/0.5074, allocations: 105 kB / 0.8415 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.5075, allocations: 107.2 kB / 0.8416 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.27e-05/0.5075, allocations: 180.3 kB / 0.8418 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.5076, allocations: 181.8 kB / 0.842 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.19e-05/0.5077, allocations: 182.9 kB / 0.8421 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.397e-05/0.5078, allocations: 180.3 kB / 0.8423 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.5079, allocations: 315.3 kB / 0.8426 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.508, allocations: 192.8 kB / 0.8428 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.5081, allocations: 176.3 kB / 0.843 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.5082, allocations: 104.9 kB / 0.8431 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.5082, allocations: 187.7 kB / 0.8432 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.5083, allocations: 103.3 kB / 0.8433 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.5084, allocations: 100.6 kB / 0.8434 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5084, allocations: 0 / 0.8434 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007316/0.5091, allocations: 288 kB / 0.8437 GB, free: 6.918 MB / 0.5919 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.001319/0.5104, allocations: 1.182 MB / 0.8449 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.5105, allocations: 35.86 kB / 0.8449 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5105, allocations: 0 / 0.8449 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.5105, allocations: 0 / 0.8449 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.5109, allocations: 472.8 kB / 0.8453 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.5124, allocations: 1.589 MB / 0.8469 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.5126, allocations: 0.6819 MB / 0.8476 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.275e-05/0.5127, allocations: 2.078 kB / 0.8476 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.5127, allocations: 13.8 kB / 0.8476 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5127, allocations: 3.062 kB / 0.8476 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.5406, allocations: 7.188 MB / 0.8546 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.946, allocations: 18.66 kB / 0.8546 GB, free: 1.973 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.818981225020252] Failed to read output from testmodel.py, exit status != 0: 9.077245981956366 9.101597424 8.593019522 Calling exit ...