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.00102/0.00102, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.0009888/0.0009889, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 284.1 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9/0.9, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 102.4 kB / 0.5967 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1458, allocations: 86.97 MB / 0.6817 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002222/0.148, allocations: 1.422 MB / 0.683 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.1516, allocations: 2.845 MB / 0.6858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.1517, allocations: 0 / 0.6858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.1517, allocations: 0 / 0.6858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.1518, allocations: 19.78 kB / 0.6858 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.1548, allocations: 1.554 MB / 0.6874 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.1549, allocations: 47.67 kB / 0.6874 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.022e-05/0.1549, allocations: 4 kB / 0.6874 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.155, allocations: 15.92 kB / 0.6874 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.349e-05/0.155, allocations: 19.88 kB / 0.6874 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.155, allocations: 0 / 0.6874 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2457/0.4007, allocations: 1.478 MB / 0.6889 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.4008, allocations: 7.031 kB / 0.6889 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.4008, allocations: 23.08 kB / 0.6889 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.4034, allocations: 1.069 MB / 0.69 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4034, allocations: 0 / 0.69 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4034, allocations: 0.7188 kB / 0.69 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4034, allocations: 0 / 0.69 GB, free: 13.45 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.0008327/0.4043, allocations: 0.513 MB / 0.6905 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4043, allocations: 10.91 kB / 0.6905 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.4044, allocations: 83.97 kB / 0.6906 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.249e-05/0.4045, allocations: 246.1 kB / 0.6908 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.4045, allocations: 154.2 kB / 0.6909 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4045, allocations: 157.5 kB / 0.6911 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.078e-05/0.4046, allocations: 111.6 kB / 0.6912 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4046, allocations: 76.06 kB / 0.6913 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.4046, allocations: 153.7 kB / 0.6914 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.4047, allocations: 151.1 kB / 0.6916 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.4047, allocations: 152.2 kB / 0.6917 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.4049, allocations: 468.1 kB / 0.6921 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.106e-05/0.4049, allocations: 169.7 kB / 0.6923 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.405, allocations: 80.14 kB / 0.6924 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.405, allocations: 80.39 kB / 0.6925 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.405, allocations: 111.1 kB / 0.6926 GB, free: 10.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.405, allocations: 0.5938 kB / 0.6926 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.29e-05/0.4051, allocations: 33.88 kB / 0.6926 GB, free: 10.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.4051, allocations: 134.1 kB / 0.6927 GB, free: 10.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.4053, allocations: 139 kB / 0.6929 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.4053, allocations: 25.7 kB / 0.6929 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.4053, allocations: 91.45 kB / 0.693 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.4053, allocations: 0 / 0.693 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.4053, allocations: 15.36 kB / 0.693 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.4054, allocations: 319.3 kB / 0.6933 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.4054, allocations: 2.781 kB / 0.6933 GB, free: 10.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.4055, allocations: 7.562 kB / 0.6933 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.4055, allocations: 11.45 kB / 0.6933 GB, free: 10.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4055, allocations: 0.9062 kB / 0.6933 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/0.4056, allocations: 56.14 kB / 0.6934 GB, free: 10.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4057, allocations: 5.344 kB / 0.6934 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4057, allocations: 3.891 kB / 0.6934 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4057, allocations: 1.188 kB / 0.6934 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.4057, allocations: 5.641 kB / 0.6934 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4057, allocations: 0.7656 kB / 0.6934 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.4057, allocations: 2.531 kB / 0.6934 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.4058, allocations: 2.719 kB / 0.6934 GB, free: 10.03 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 5.059e-05/0.4058, allocations: 186.5 kB / 0.6936 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.4058, allocations: 115.9 kB / 0.6937 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.4059, allocations: 111.1 kB / 0.6938 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.4059, allocations: 186.4 kB / 0.694 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.4059, allocations: 182.2 kB / 0.6941 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.406, allocations: 178.6 kB / 0.6943 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.4061, allocations: 414.9 kB / 0.6947 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.4061, allocations: 103.7 kB / 0.6948 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.4061, allocations: 111.8 kB / 0.6949 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.133e-05/0.4062, allocations: 180.2 kB / 0.6951 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.4062, allocations: 189.1 kB / 0.6953 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.168e-05/0.4062, allocations: 177.6 kB / 0.6954 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/0.4063, allocations: 182.4 kB / 0.6956 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.519e-05/0.4063, allocations: 310 kB / 0.6959 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.4064, allocations: 192.1 kB / 0.6961 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.4064, allocations: 179.4 kB / 0.6963 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.4065, allocations: 107.1 kB / 0.6964 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.4065, allocations: 182.5 kB / 0.6965 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.4065, allocations: 102.5 kB / 0.6966 GB, free: 6.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.4066, allocations: 103.7 kB / 0.6967 GB, free: 6.535 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.4066, allocations: 1.156 kB / 0.6967 GB, free: 6.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000984/0.4076, allocations: 279.1 kB / 0.697 GB, free: 6.48 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.001351/0.4089, allocations: 0.5192 MB / 0.6975 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.409, allocations: 42.44 kB / 0.6975 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.409, allocations: 0 / 0.6975 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.409, allocations: 0.5156 kB / 0.6975 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.4094, allocations: 468.7 kB / 0.698 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.4096, allocations: 239.8 kB / 0.6982 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.517e-05/0.4097, allocations: 0.6849 MB / 0.6989 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.432e-05/0.4098, allocations: 0.8438 kB / 0.6989 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.4098, allocations: 13.06 kB / 0.6989 GB, free: 4.867 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4098, allocations: 1.062 kB / 0.6989 GB, free: 4.867 MB / 494.1 MB Notification: Performance of Templates: time 0.01103/0.4208, allocations: 5.432 MB / 0.7042 GB, free: 4.504 MB / 494.1 MB 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)