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.0009051/0.0009051, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001623/0.001623, allocations: 173.3 kB / 23.5 MB, free: 1.055 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 0.9352/0.9352, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.001849/0.001849, allocations: 235.1 kB / 260.5 MB, free: 12.9 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 0.7164/0.7164, allocations: 138.4 MB / 455.4 MB, free: 1.562 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.232e-06/1.232e-06, allocations: 0 / 0.5551 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.348e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003264/0.003288, allocations: 3.102 MB / 0.5581 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.005607, allocations: 2.129 MB / 0.5602 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.005777, allocations: 8 kB / 0.5602 GB, free: 11.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.006843, allocations: 465.6 kB / 0.5607 GB, free: 11.12 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.007067, allocations: 158.7 kB / 0.5608 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.007171, allocations: 63.92 kB / 0.5609 GB, free: 10.9 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.00758, allocations: 469.5 kB / 0.5613 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.007746, allocations: 103.8 kB / 0.5614 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.008059, allocations: 247.4 kB / 0.5616 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.008228, allocations: 139.6 kB / 0.5618 GB, free: 9.957 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.008263, allocations: 36 kB / 0.5618 GB, free: 9.922 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.0083, allocations: 32 kB / 0.5618 GB, free: 9.891 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.008387, allocations: 95.67 kB / 0.5619 GB, free: 9.797 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.008499, allocations: 147.6 kB / 0.5621 GB, free: 9.652 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.008787, allocations: 283 kB / 0.5623 GB, free: 9.375 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.008791, allocations: 4 kB / 0.5623 GB, free: 9.371 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008792, allocations: 0 / 0.5623 GB, free: 9.371 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.008798, allocations: 0 / 0.5623 GB, free: 9.371 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.0007251/0.009523, allocations: 0.7523 MB / 0.5631 GB, free: 8.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.009558, allocations: 11.97 kB / 0.5631 GB, free: 8.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.009639, allocations: 64.66 kB / 0.5632 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.009983, allocations: 310.7 kB / 0.5635 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.01, allocations: 24.81 kB / 0.5635 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.01003, allocations: 16.38 kB / 0.5635 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.01027, allocations: 161.4 kB / 0.5636 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.01028, allocations: 192 / 0.5636 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.01029, allocations: 12.38 kB / 0.5637 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.0103, allocations: 7.938 kB / 0.5637 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.01044, allocations: 78.88 kB / 0.5637 GB, free: 7.871 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.0112, allocations: 0.6981 MB / 0.5644 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.01136, allocations: 110.6 kB / 0.5645 GB, free: 7.016 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/0.01145, allocations: 59.66 kB / 0.5646 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.01146, allocations: 4.312 kB / 0.5646 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.01148, allocations: 33.39 kB / 0.5646 GB, free: 6.906 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.01148, allocations: 0 / 0.5646 GB, free: 6.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002644/0.01174, allocations: 172.2 kB / 0.5648 GB, free: 6.734 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.01178, allocations: 55.41 kB / 0.5648 GB, free: 6.668 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.01211, allocations: 442.8 kB / 0.5653 GB, free: 6.223 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.01213, allocations: 33.7 kB / 0.5653 GB, free: 6.184 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.01225, allocations: 271.2 kB / 0.5656 GB, free: 5.914 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.0123, allocations: 63.44 kB / 0.5656 GB, free: 5.852 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.01234, allocations: 39.38 kB / 0.5656 GB, free: 5.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002969/0.01264, allocations: 0.5352 MB / 0.5662 GB, free: 5.258 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.01268, allocations: 23.98 kB / 0.5662 GB, free: 5.234 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/0.01273, allocations: 26.56 kB / 0.5662 GB, free: 5.211 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.01283, allocations: 75.53 kB / 0.5663 GB, free: 5.133 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01283, allocations: 0 / 0.5663 GB, free: 5.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001663/0.013, allocations: 152 kB / 0.5664 GB, free: 4.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01301, allocations: 8 kB / 0.5664 GB, free: 4.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01302, allocations: 4 kB / 0.5664 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.01303, allocations: 0 / 0.5664 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.01318, allocations: 47.97 kB / 0.5665 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01319, allocations: 0 / 0.5665 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.01325, allocations: 23.83 kB / 0.5665 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.01326, allocations: 0 / 0.5665 GB, free: 4.898 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 8.451e-05/0.01334, allocations: 172.5 kB / 0.5667 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.01338, allocations: 39.77 kB / 0.5667 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.01343, allocations: 39.39 kB / 0.5668 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01343, allocations: 8 kB / 0.5668 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01344, allocations: 0 / 0.5668 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01344, allocations: 0 / 0.5668 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.0137, allocations: 312.3 kB / 0.5671 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.0137, allocations: 0 / 0.5671 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.01385, allocations: 55.91 kB / 0.5671 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01385, allocations: 0 / 0.5671 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.01387, allocations: 8 kB / 0.5671 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01387, allocations: 0 / 0.5671 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01387, allocations: 0 / 0.5671 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.01415, allocations: 327.5 kB / 0.5674 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.01419, allocations: 43.78 kB / 0.5675 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.01422, allocations: 4 kB / 0.5675 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.01429, allocations: 4 kB / 0.5675 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.01433, allocations: 15.97 kB / 0.5675 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.01434, allocations: 4 kB / 0.5675 GB, free: 3.816 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.01452, allocations: 287 kB / 0.5678 GB, free: 3.543 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01452, allocations: 0 / 0.5678 GB, free: 3.543 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.01472, allocations: 75.83 kB / 0.5679 GB, free: 3.469 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 9.178e-05/0.01481, allocations: 115.2 kB / 0.568 GB, free: 3.348 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01496, allocations: 83.59 kB / 0.568 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01496, allocations: 0 / 0.568 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.01502, allocations: 55.59 kB / 0.5681 GB, free: 3.203 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.01536, allocations: 85.3 kB / 0.5682 GB, free: 3.117 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.01636, allocations: 0.6552 MB / 0.5688 GB, free: 2.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.986e-05/0.01642, allocations: 96.3 kB / 0.5689 GB, free: 2.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.01649, allocations: 30.97 kB / 0.5689 GB, free: 2.293 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.01654, allocations: 28.48 kB / 0.569 GB, free: 2.266 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01654, allocations: 0 / 0.569 GB, free: 2.266 MB / 490.7 MB Notification: Performance of Templates: time 0.00603/0.02257, allocations: 3.682 MB / 0.5726 GB, free: 14.72 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: 3.4874786839354783]