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.001545/0.001545, allocations: 89.27 kB / 19.43 MB, free: 1.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.001671/0.001671, allocations: 160.8 kB / 22.75 MB, free: 4.773 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.42/1.42, allocations: 177.1 MB / 203.1 MB, free: 9.059 MB / 190.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.002494/0.002494, allocations: 229.3 kB / 259.8 MB, free: 324 kB / 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.062/1.062, allocations: 138.4 MB / 454.7 MB, free: 1.945 MB / 366.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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5544 GB, free: 4.086 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.518e-05, allocations: 2.312 kB / 0.5544 GB, free: 4.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002431/0.002456, allocations: 1.423 MB / 0.5558 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004493/0.006949, allocations: 2.63 MB / 0.5584 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.006989, allocations: 11.94 kB / 0.5584 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.007009, allocations: 3.984 kB / 0.5584 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.007069, allocations: 11.81 kB / 0.5584 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.01118, allocations: 1.628 MB / 0.56 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.756e-05/0.01127, allocations: 39.73 kB / 0.56 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.0113, allocations: 7.938 kB / 0.56 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.01134, allocations: 15.98 kB / 0.56 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.405e-05/0.01138, allocations: 15.92 kB / 0.56 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.01139, allocations: 4 kB / 0.5601 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.01369, allocations: 1.458 MB / 0.5615 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.0137, allocations: 8 kB / 0.5615 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.01373, allocations: 7.938 kB / 0.5615 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.01542, allocations: 1.251 MB / 0.5627 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.01543, allocations: 0 / 0.5627 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01543, allocations: 0 / 0.5627 GB, free: 11.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.01543, allocations: 0 / 0.5627 GB, free: 11.54 MB / 494.1 MB 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.0006209/0.01605, allocations: 468 kB / 0.5632 GB, free: 11.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.01609, allocations: 9.219 kB / 0.5632 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.01616, allocations: 84.17 kB / 0.5632 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.01631, allocations: 189 kB / 0.5634 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.01638, allocations: 158.9 kB / 0.5636 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.01645, allocations: 154.9 kB / 0.5637 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.885e-05/0.01652, allocations: 101.5 kB / 0.5638 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.01656, allocations: 75.47 kB / 0.5639 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.01662, allocations: 154.7 kB / 0.564 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.01669, allocations: 154.6 kB / 0.5642 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.01676, allocations: 158.5 kB / 0.5643 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.01707, allocations: 417.5 kB / 0.5647 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.01717, allocations: 165.1 kB / 0.5649 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.01721, allocations: 80.14 kB / 0.565 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.01726, allocations: 87.27 kB / 0.5651 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/0.01731, allocations: 113.8 kB / 0.5652 GB, free: 8.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.01732, allocations: 0 / 0.5652 GB, free: 8.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.825e-05/0.01739, allocations: 37.59 kB / 0.5652 GB, free: 8.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.01747, allocations: 130.6 kB / 0.5653 GB, free: 8.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01761, allocations: 128.5 kB / 0.5654 GB, free: 8.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01763, allocations: 25.7 kB / 0.5655 GB, free: 8.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.01769, allocations: 92.14 kB / 0.5656 GB, free: 8.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.01769, allocations: 0 / 0.5656 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.01773, allocations: 17.7 kB / 0.5656 GB, free: 8.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01787, allocations: 318.8 kB / 0.5659 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.01789, allocations: 4 kB / 0.5659 GB, free: 8.117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.01791, allocations: 11.98 kB / 0.5659 GB, free: 8.105 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.01795, allocations: 20.78 kB / 0.5659 GB, free: 8.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01795, allocations: 0 / 0.5659 GB, free: 8.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.01808, allocations: 45.66 kB / 0.566 GB, free: 8.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01809, allocations: 4 kB / 0.566 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.01811, allocations: 4 kB / 0.566 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.01813, allocations: 7.922 kB / 0.566 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.01813, allocations: 0 / 0.566 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.01813, allocations: 0 / 0.566 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.01815, allocations: 4.062 kB / 0.566 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.01816, allocations: 4 kB / 0.566 GB, free: 8.008 MB / 494.1 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 (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.0001089/0.01827, allocations: 185.1 kB / 0.5662 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.01834, allocations: 108.9 kB / 0.5663 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.0184, allocations: 120.6 kB / 0.5664 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.19e-05/0.01849, allocations: 184.1 kB / 0.5666 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/0.01856, allocations: 180.3 kB / 0.5667 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.593e-05/0.01864, allocations: 176.3 kB / 0.5669 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.0189, allocations: 368.8 kB / 0.5672 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.362e-05/0.01894, allocations: 101 kB / 0.5673 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.01899, allocations: 108.9 kB / 0.5674 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-05/0.01907, allocations: 188.3 kB / 0.5676 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-05/0.01915, allocations: 180.3 kB / 0.5678 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.148e-05/0.01923, allocations: 180.2 kB / 0.568 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.064e-05/0.01931, allocations: 184.2 kB / 0.5681 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01948, allocations: 311.7 kB / 0.5684 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.01954, allocations: 108.9 kB / 0.5685 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/0.01963, allocations: 180.3 kB / 0.5687 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.01972, allocations: 105.2 kB / 0.5688 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.01981, allocations: 192.1 kB / 0.569 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.01985, allocations: 101 kB / 0.5691 GB, free: 4.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.498e-05/0.01991, allocations: 103.3 kB / 0.5692 GB, free: 4.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01991, allocations: 0 / 0.5692 GB, free: 4.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007712/0.02069, allocations: 287 kB / 0.5695 GB, free: 4.25 MB / 494.1 MB 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.00116/0.02185, allocations: 0.5788 MB / 0.57 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.02194, allocations: 41.64 kB / 0.5701 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.02194, allocations: 0 / 0.5701 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.02194, allocations: 0 / 0.5701 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.02239, allocations: 467.8 kB / 0.5705 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.02271, allocations: 230.7 kB / 0.5707 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.635e-05/0.02278, allocations: 67.2 kB / 0.5708 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.096e-05/0.02279, allocations: 0 / 0.5708 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.02281, allocations: 12.5 kB / 0.5708 GB, free: 2.809 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.02281, allocations: 0 / 0.5708 GB, free: 2.809 MB / 494.1 MB Notification: Performance of Templates: time 0.01089/0.0337, allocations: 5.777 MB / 0.5765 GB, free: 13.09 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.456221718341112]