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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 109.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 281.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9888/0.9888, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003023/0.003023, allocations: 95.86 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4635, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00279/0.4662, allocations: 1.417 MB / 0.7685 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005284/0.4715, allocations: 2.862 MB / 0.7713 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.4716, allocations: 0 / 0.7713 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.4716, allocations: 7.875 kB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.4717, allocations: 19.84 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.4763, allocations: 1.564 MB / 0.7729 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.4764, allocations: 39.67 kB / 0.7729 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.4765, allocations: 8 kB / 0.7729 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.4765, allocations: 15.92 kB / 0.7729 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.473e-05/0.4765, allocations: 11.94 kB / 0.7729 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-06/0.4765, allocations: 0 / 0.7729 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.4787, allocations: 1.49 MB / 0.7744 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.4787, allocations: 7.938 kB / 0.7744 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.4788, allocations: 19.88 kB / 0.7744 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.4802, allocations: 1.073 MB / 0.7755 GB, free: 11.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4803, allocations: 4 kB / 0.7755 GB, free: 11.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4803, allocations: 0 / 0.7755 GB, free: 11.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.4803, allocations: 0 / 0.7755 GB, free: 11.37 MB / 0.545 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.0006944/0.481, allocations: 0.5246 MB / 0.776 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.481, allocations: 12.03 kB / 0.776 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.4811, allocations: 88.11 kB / 0.7761 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.4813, allocations: 251.6 kB / 0.7763 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/0.4813, allocations: 154.9 kB / 0.7765 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.4814, allocations: 154.9 kB / 0.7766 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.158e-05/0.4815, allocations: 105.1 kB / 0.7767 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.4815, allocations: 79.22 kB / 0.7768 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.4816, allocations: 150.6 kB / 0.7769 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-05/0.4816, allocations: 150.6 kB / 0.7771 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.4817, allocations: 158.5 kB / 0.7772 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.4821, allocations: 465.9 kB / 0.7777 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.4822, allocations: 169.1 kB / 0.7778 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.4822, allocations: 84.12 kB / 0.7779 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.4822, allocations: 83.28 kB / 0.778 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.4823, allocations: 109.8 kB / 0.7781 GB, free: 8.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4823, allocations: 0 / 0.7781 GB, free: 8.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.017e-05/0.4824, allocations: 37.59 kB / 0.7781 GB, free: 8.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.4825, allocations: 126.7 kB / 0.7783 GB, free: 8.324 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4826, allocations: 136.7 kB / 0.7784 GB, free: 8.184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4826, allocations: 25.7 kB / 0.7784 GB, free: 8.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.4827, allocations: 92.12 kB / 0.7785 GB, free: 8.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.4827, allocations: 4 kB / 0.7785 GB, free: 8.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.4827, allocations: 17.72 kB / 0.7785 GB, free: 8.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4829, allocations: 314.8 kB / 0.7788 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.4829, allocations: 8 kB / 0.7788 GB, free: 7.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.4829, allocations: 4.031 kB / 0.7788 GB, free: 7.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.4829, allocations: 8.859 kB / 0.7788 GB, free: 7.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4829, allocations: 3.938 kB / 0.7788 GB, free: 7.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001287/0.4831, allocations: 57.61 kB / 0.7789 GB, free: 7.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4831, allocations: 8 kB / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.4831, allocations: 0 / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4831, allocations: 3.938 kB / 0.7789 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-06/0.4831, allocations: 4 kB / 0.7789 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4831, allocations: 0 / 0.7789 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.4831, allocations: 0 / 0.7789 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.4831, allocations: 0 / 0.7789 GB, free: 7.609 MB / 0.545 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.0001207/0.4833, allocations: 185.1 kB / 0.7791 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.4834, allocations: 128.8 kB / 0.7792 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.098e-05/0.4834, allocations: 108.9 kB / 0.7793 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/0.4835, allocations: 180.3 kB / 0.7795 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.563e-05/0.4836, allocations: 180.2 kB / 0.7797 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.831e-05/0.4837, allocations: 184.2 kB / 0.7798 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.484, allocations: 417.2 kB / 0.7802 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.137e-05/0.484, allocations: 104.9 kB / 0.7803 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.4841, allocations: 105 kB / 0.7804 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.164e-05/0.4842, allocations: 180.2 kB / 0.7806 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.4842, allocations: 184.2 kB / 0.7808 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-05/0.4843, allocations: 184.2 kB / 0.781 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.991e-05/0.4844, allocations: 188.2 kB / 0.7811 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.4846, allocations: 303.7 kB / 0.7814 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4847, allocations: 190 kB / 0.7816 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.585e-05/0.4848, allocations: 184.2 kB / 0.7818 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.4849, allocations: 105 kB / 0.7819 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.4849, allocations: 176.3 kB / 0.7821 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.485, allocations: 108.9 kB / 0.7822 GB, free: 4.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.327e-05/0.4851, allocations: 103.2 kB / 0.7823 GB, free: 3.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4851, allocations: 0 / 0.7823 GB, free: 3.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008159/0.4859, allocations: 275 kB / 0.7825 GB, free: 3.691 MB / 0.545 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.001038/0.4869, allocations: 0.5294 MB / 0.783 GB, free: 3.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.713e-05/0.487, allocations: 33.69 kB / 0.7831 GB, free: 3.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.487, allocations: 4 kB / 0.7831 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-06/0.487, allocations: 3.938 kB / 0.7831 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.4875, allocations: 471.4 kB / 0.7835 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.4879, allocations: 236 kB / 0.7837 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.4882, allocations: 0.6846 MB / 0.7844 GB, free: 1.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.4882, allocations: 0 / 0.7844 GB, free: 1.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.4882, allocations: 11.44 kB / 0.7844 GB, free: 1.664 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.4882, allocations: 0 / 0.7844 GB, free: 1.664 MB / 0.545 GB Notification: Performance of Templates: time 0.01015/0.4984, allocations: 5.456 MB / 0.7898 GB, free: 12.26 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)