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.001839/0.001839, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002057/0.002057, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.645/1.645, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.003279/0.003279, allocations: 242.4 kB / 259.8 MB, free: 12.84 MB / 250.7 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.173/1.173, allocations: 138.4 MB / 454.7 MB, free: 1.508 MB / 362.7 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5544 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.641e-05/3.806e-05, allocations: 9.547 kB / 0.5544 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005098/0.005136, allocations: 3.067 MB / 0.5574 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.00878, allocations: 2.129 MB / 0.5595 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.008967, allocations: 11.94 kB / 0.5595 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.01069, allocations: 461.6 kB / 0.5599 GB, free: 11.12 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.01108, allocations: 162.8 kB / 0.5601 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.01123, allocations: 55.94 kB / 0.5601 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.01184, allocations: 475.9 kB / 0.5606 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.01207, allocations: 95.83 kB / 0.5607 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.01247, allocations: 247.5 kB / 0.5609 GB, free: 10.1 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.01272, allocations: 139.5 kB / 0.561 GB, free: 9.965 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.01278, allocations: 32 kB / 0.5611 GB, free: 9.934 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.01285, allocations: 40 kB / 0.5611 GB, free: 9.895 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.013, allocations: 99.67 kB / 0.5612 GB, free: 9.797 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.0132, allocations: 139.6 kB / 0.5613 GB, free: 9.66 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007225/0.01392, allocations: 0.5489 MB / 0.5619 GB, free: 9.109 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01392, allocations: 0 / 0.5619 GB, free: 9.109 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01392, allocations: 0 / 0.5619 GB, free: 9.109 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.01393, allocations: 0 / 0.5619 GB, free: 9.109 MB / 490.7 MB 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.001247/0.01518, allocations: 0.7755 MB / 0.5626 GB, free: 8.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.01522, allocations: 12.03 kB / 0.5626 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.01533, allocations: 60.64 kB / 0.5627 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.01588, allocations: 322.7 kB / 0.563 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.01591, allocations: 16.88 kB / 0.563 GB, free: 7.863 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.01595, allocations: 20.38 kB / 0.563 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.01636, allocations: 192.6 kB / 0.5632 GB, free: 7.648 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.01638, allocations: 4.188 kB / 0.5632 GB, free: 7.645 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.0164, allocations: 12.38 kB / 0.5632 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01641, allocations: 7.938 kB / 0.5632 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.01678, allocations: 149.9 kB / 0.5634 GB, free: 7.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.01815, allocations: 0.8157 MB / 0.5642 GB, free: 6.625 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.01846, allocations: 147.1 kB / 0.5643 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.01867, allocations: 99.66 kB / 0.5644 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.01869, allocations: 4 kB / 0.5644 GB, free: 6.363 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.01873, allocations: 41.64 kB / 0.5645 GB, free: 6.312 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.01873, allocations: 0 / 0.5645 GB, free: 6.312 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005783/0.01931, allocations: 233.3 kB / 0.5647 GB, free: 6.078 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.01936, allocations: 59.41 kB / 0.5647 GB, free: 6.008 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.02, allocations: 0.491 MB / 0.5652 GB, free: 5.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.02002, allocations: 25.7 kB / 0.5652 GB, free: 5.469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.02027, allocations: 279.2 kB / 0.5655 GB, free: 5.191 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/0.02035, allocations: 75.42 kB / 0.5656 GB, free: 5.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.02043, allocations: 47.36 kB / 0.5656 GB, free: 5.062 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003476/0.02078, allocations: 0.5469 MB / 0.5662 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.02091, allocations: 51.97 kB / 0.5662 GB, free: 4.453 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.02103, allocations: 58.5 kB / 0.5663 GB, free: 4.398 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.02131, allocations: 135.5 kB / 0.5664 GB, free: 4.262 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.02131, allocations: 0 / 0.5664 GB, free: 4.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000391/0.0217, allocations: 203.8 kB / 0.5666 GB, free: 4.059 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.02171, allocations: 4 kB / 0.5666 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.02172, allocations: 4 kB / 0.5666 GB, free: 4.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.02174, allocations: 4 kB / 0.5666 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.02199, allocations: 51.91 kB / 0.5667 GB, free: 3.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.02199, allocations: 0 / 0.5667 GB, free: 3.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.02213, allocations: 23.83 kB / 0.5667 GB, free: 3.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.02214, allocations: 4 kB / 0.5667 GB, free: 3.969 MB / 490.7 MB 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.0003143/0.02245, allocations: 192.6 kB / 0.5669 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.02253, allocations: 39.77 kB / 0.5669 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/0.02261, allocations: 39.39 kB / 0.5669 GB, free: 3.691 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02261, allocations: 3.938 kB / 0.5669 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.02262, allocations: 7.938 kB / 0.567 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.02262, allocations: 4 kB / 0.567 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.02314, allocations: 364.3 kB / 0.5673 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.02314, allocations: 0 / 0.5673 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.02339, allocations: 47.97 kB / 0.5674 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.02339, allocations: 0 / 0.5674 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.02341, allocations: 8 kB / 0.5674 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02341, allocations: 0 / 0.5674 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.02341, allocations: 0 / 0.5674 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.02406, allocations: 422.7 kB / 0.5678 GB, free: 2.801 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.02414, allocations: 39.75 kB / 0.5678 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.02418, allocations: 4 kB / 0.5678 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.02433, allocations: 7.984 kB / 0.5678 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.02438, allocations: 15.89 kB / 0.5678 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.02439, allocations: 4 kB / 0.5678 GB, free: 2.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003913/0.02478, allocations: 331.1 kB / 0.5681 GB, free: 2.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02478, allocations: 0 / 0.5681 GB, free: 2.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.0251, allocations: 71.89 kB / 0.5682 GB, free: 2.34 MB / 490.7 MB 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.0001465/0.02524, allocations: 115.2 kB / 0.5683 GB, free: 2.219 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.02559, allocations: 143.6 kB / 0.5685 GB, free: 2.074 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02559, allocations: 4 kB / 0.5685 GB, free: 2.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.02576, allocations: 79.59 kB / 0.5685 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.02628, allocations: 96.12 kB / 0.5686 GB, free: 1.902 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.02758, allocations: 0.6833 MB / 0.5693 GB, free: 1.188 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.0278, allocations: 194.2 kB / 0.5695 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.02791, allocations: 34.95 kB / 0.5695 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.02798, allocations: 20.5 kB / 0.5695 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02798, allocations: 4 kB / 0.5695 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of Templates: time 0.009117/0.0371, allocations: 3.662 MB / 0.5731 GB, free: 13.39 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.907616161974147]