Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001502/0.001502, allocations: 118.2 kB / 17.17 MB, free: 6 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.001784/0.001784, allocations: 211.3 kB / 20.13 MB, free: 3.055 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.436/1.436, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.002399/0.002399, allocations: 287.3 kB / 309.8 MB, free: 3.457 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.061/1.061, allocations: 180.6 MB / 0.5338 GB, free: 12.42 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.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.002818/0.002818, allocations: 99.84 kB / 0.7347 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5181, allocations: 95.33 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003871/0.5219, allocations: 3.057 MB / 0.8308 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.525, allocations: 2.199 MB / 0.833 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.5253, allocations: 8.281 kB / 0.833 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.5268, allocations: 0.4946 MB / 0.8334 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.5273, allocations: 152.3 kB / 0.8336 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.5275, allocations: 67.56 kB / 0.8337 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.528, allocations: 445.7 kB / 0.8341 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.5282, allocations: 99.48 kB / 0.8342 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.5285, allocations: 170.9 kB / 0.8343 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.5288, allocations: 180.5 kB / 0.8345 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.5288, allocations: 34.28 kB / 0.8345 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.5289, allocations: 41.22 kB / 0.8346 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.529, allocations: 99.77 kB / 0.8347 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.5292, allocations: 217.9 kB / 0.8349 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.5299, allocations: 0.5474 MB / 0.8354 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5299, allocations: 1.125 kB / 0.8354 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5299, allocations: 0 / 0.8354 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.5299, allocations: 0 / 0.8354 GB, free: 14.09 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001175/0.5311, allocations: 0.7099 MB / 0.8361 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5311, allocations: 10.03 kB / 0.8361 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.558e-05/0.5311, allocations: 5.219 kB / 0.8361 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.5312, allocations: 63.95 kB / 0.8362 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.5313, allocations: 46.69 kB / 0.8362 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.5318, allocations: 377.9 kB / 0.8366 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5318, allocations: 19.22 kB / 0.8366 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.5319, allocations: 24.72 kB / 0.8366 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.5323, allocations: 198.2 kB / 0.8368 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5323, allocations: 0 / 0.8368 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.5323, allocations: 10.59 kB / 0.8368 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.5323, allocations: 6.75 kB / 0.8368 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.5327, allocations: 167.5 kB / 0.837 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.534, allocations: 0.8656 MB / 0.8378 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.5344, allocations: 146.1 kB / 0.838 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.5346, allocations: 105.9 kB / 0.8381 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5346, allocations: 2.828 kB / 0.8381 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.5346, allocations: 36.33 kB / 0.8381 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.5346, allocations: 0 / 0.8381 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0006519/0.5353, allocations: 258.1 kB / 0.8384 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5353, allocations: 56.78 kB / 0.8384 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.5358, allocations: 415.7 kB / 0.8388 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.5359, allocations: 29.7 kB / 0.8389 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.536, allocations: 203.2 kB / 0.839 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.5361, allocations: 69.19 kB / 0.8391 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.5362, allocations: 32.88 kB / 0.8391 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5363, allocations: 348.6 kB / 0.8395 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.5365, allocations: 61.28 kB / 0.8395 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.5366, allocations: 70.31 kB / 0.8396 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.5369, allocations: 128.2 kB / 0.8397 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5369, allocations: 0 / 0.8397 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003872/0.5373, allocations: 207.5 kB / 0.8399 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5373, allocations: 8.672 kB / 0.8399 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.5373, allocations: 5.375 kB / 0.8399 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5373, allocations: 0 / 0.8399 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.5376, allocations: 60.2 kB / 0.84 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5376, allocations: 0 / 0.84 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.5377, allocations: 20.33 kB / 0.84 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5377, allocations: 7.219 kB / 0.84 GB, free: 10.95 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001589/0.5379, allocations: 167.6 kB / 0.8402 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.538, allocations: 38.94 kB / 0.8402 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.26e-05/0.5381, allocations: 44.58 kB / 0.8403 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5381, allocations: 1.406 kB / 0.8403 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5381, allocations: 1.344 kB / 0.8403 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5381, allocations: 1.266 kB / 0.8403 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.5385, allocations: 376.8 kB / 0.8406 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5385, allocations: 0 / 0.8406 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.5388, allocations: 55.08 kB / 0.8407 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5388, allocations: 3.938 kB / 0.8407 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.5388, allocations: 1.75 kB / 0.8407 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5388, allocations: 7.094 kB / 0.8407 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5388, allocations: 3.938 kB / 0.8407 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/0.5394, allocations: 378 kB / 0.8411 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5396, allocations: 122.3 kB / 0.8412 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.5396, allocations: 4.781 kB / 0.8412 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.5398, allocations: 13.78 kB / 0.8412 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.5398, allocations: 8.547 kB / 0.8412 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5398, allocations: 6.531 kB / 0.8412 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003535/0.5402, allocations: 301.8 kB / 0.8415 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5402, allocations: 0 / 0.8415 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003181/0.5405, allocations: 75.62 kB / 0.8416 GB, free: 9.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0009304/0.5414, allocations: 0.9225 MB / 0.8425 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.5418, allocations: 143.1 kB / 0.8426 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5418, allocations: 1.156 kB / 0.8426 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.542, allocations: 75.08 kB / 0.8427 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.5425, allocations: 95.39 kB / 0.8428 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.5477, allocations: 3.497 MB / 0.8462 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.5482, allocations: 0.7972 MB / 0.847 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.5484, allocations: 44.3 kB / 0.847 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.5485, allocations: 114.8 kB / 0.8471 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.5485, allocations: 0 / 0.8471 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.5786, allocations: 8.102 MB / 0.855 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/9.083, allocations: 22.86 kB / 0.855 GB, free: 4.246 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.981030847004149] Failed to read output from testmodel.py, exit status != 0: 9.210802597983275 9.231857726 8.697650238 Calling exit ...