Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001536/0.001536, allocations: 107.2 kB / 17.02 MB, free: 5.66 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.00122/0.00122, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7016/0.7016, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.001571, allocations: 59.91 kB / 494.9 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3694, allocations: 76.15 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002788/0.3723, allocations: 1.41 MB / 0.559 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004123/0.3764, allocations: 2.848 MB / 0.5618 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.3765, allocations: 0.5938 kB / 0.5618 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.3765, allocations: 6.422 kB / 0.5618 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.3766, allocations: 16.23 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.3804, allocations: 1.549 MB / 0.5633 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.747e-05/0.3805, allocations: 41.59 kB / 0.5634 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3805, allocations: 10.05 kB / 0.5634 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.3805, allocations: 16.98 kB / 0.5634 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.868e-05/0.3806, allocations: 16.55 kB / 0.5634 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3806, allocations: 1.438 kB / 0.5634 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.3828, allocations: 1.489 MB / 0.5649 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.3828, allocations: 2.266 kB / 0.5649 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.3829, allocations: 20.88 kB / 0.5649 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.3843, allocations: 1.082 MB / 0.5659 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3844, allocations: 0.7031 kB / 0.5659 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3844, allocations: 2.062 kB / 0.5659 GB, free: 32.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3844, allocations: 0 / 0.5659 GB, free: 32.24 MB / 446.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.0004916/0.3849, allocations: 0.5068 MB / 0.5664 GB, free: 31.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3849, allocations: 13.78 kB / 0.5664 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.385, allocations: 87.31 kB / 0.5665 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3851, allocations: 259.7 kB / 0.5668 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3851, allocations: 158.6 kB / 0.5669 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3852, allocations: 152.2 kB / 0.5671 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.273e-05/0.3852, allocations: 106.5 kB / 0.5672 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3852, allocations: 76.36 kB / 0.5672 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.3853, allocations: 152.4 kB / 0.5674 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.3853, allocations: 152.9 kB / 0.5675 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.3853, allocations: 151.2 kB / 0.5677 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.3855, allocations: 467.2 kB / 0.5681 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.3856, allocations: 167.5 kB / 0.5683 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.3856, allocations: 85.11 kB / 0.5684 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3856, allocations: 76.25 kB / 0.5684 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3856, allocations: 113.6 kB / 0.5685 GB, free: 29.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3856, allocations: 0 / 0.5685 GB, free: 29.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.092e-05/0.3857, allocations: 36.72 kB / 0.5686 GB, free: 29.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3857, allocations: 128.5 kB / 0.5687 GB, free: 29.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3859, allocations: 126.9 kB / 0.5688 GB, free: 29.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.3859, allocations: 29.7 kB / 0.5689 GB, free: 29.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.3859, allocations: 98.33 kB / 0.569 GB, free: 29.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.3859, allocations: 0 / 0.569 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.386, allocations: 20.08 kB / 0.569 GB, free: 29.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.386, allocations: 316.4 kB / 0.5693 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.386, allocations: 2.25 kB / 0.5693 GB, free: 28.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/0.3861, allocations: 8.766 kB / 0.5693 GB, free: 28.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.3861, allocations: 11.53 kB / 0.5693 GB, free: 28.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3861, allocations: 1.031 kB / 0.5693 GB, free: 28.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001089/0.3862, allocations: 54.8 kB / 0.5693 GB, free: 28.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3862, allocations: 6.125 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.3863, allocations: 3.094 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3863, allocations: 1.75 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3863, allocations: 1.062 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3863, allocations: 0.6562 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.3863, allocations: 5.5 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3863, allocations: 1.906 kB / 0.5694 GB, free: 28.73 MB / 446.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 6.672e-05/0.3864, allocations: 185.4 kB / 0.5695 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.3865, allocations: 108.2 kB / 0.5696 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.3865, allocations: 121.2 kB / 0.5698 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/0.3865, allocations: 183 kB / 0.5699 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.33e-05/0.3866, allocations: 185.9 kB / 0.5701 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.188e-05/0.3866, allocations: 183.1 kB / 0.5703 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3868, allocations: 417.7 kB / 0.5707 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.3868, allocations: 114.9 kB / 0.5708 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.3868, allocations: 104.6 kB / 0.5709 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.48e-05/0.3868, allocations: 182.6 kB / 0.5711 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.3869, allocations: 178.3 kB / 0.5712 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.591e-05/0.3869, allocations: 181.7 kB / 0.5714 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.602e-05/0.3869, allocations: 183.5 kB / 0.5716 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.696e-05/0.387, allocations: 307.9 kB / 0.5719 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.3871, allocations: 190.5 kB / 0.5721 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.3871, allocations: 186.4 kB / 0.5722 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.3872, allocations: 108.1 kB / 0.5723 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.3872, allocations: 179.2 kB / 0.5725 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3872, allocations: 106.2 kB / 0.5726 GB, free: 25.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.3873, allocations: 100.7 kB / 0.5727 GB, free: 25.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3873, allocations: 2.844 kB / 0.5727 GB, free: 25.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007869/0.3881, allocations: 281.8 kB / 0.573 GB, free: 25.09 MB / 446.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.0009684/0.389, allocations: 0.5188 MB / 0.5735 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.3891, allocations: 39.22 kB / 0.5735 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3892, allocations: 0 / 0.5735 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.3892, allocations: 1.312 kB / 0.5735 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.3895, allocations: 471.9 kB / 0.574 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.3897, allocations: 234 kB / 0.5742 GB, free: 24.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3899, allocations: 0.6842 MB / 0.5749 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.008e-05/0.3899, allocations: 0 / 0.5749 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-06/0.3899, allocations: 10.31 kB / 0.5749 GB, free: 23.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3899, allocations: 0 / 0.5749 GB, free: 23.43 MB / 446.1 MB Notification: Performance of Templates: time 0.01106/0.401, allocations: 5.473 MB / 0.5802 GB, free: 22.88 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)