Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 103.8 kB / 16.29 MB, free: 6.012 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.00114/0.00114, allocations: 181.5 kB / 17.22 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.926/1.926, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 75.89 kB / 0.6723 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2707, allocations: 114.5 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002731/0.2735, allocations: 1.427 MB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4373/0.7108, allocations: 2.929 MB / 0.7884 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.7109, allocations: 0.7188 kB / 0.7884 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.7109, allocations: 6.562 kB / 0.7884 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.7111, allocations: 17.67 kB / 0.7884 GB, free: 46.12 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.715, allocations: 1.62 MB / 0.79 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.7151, allocations: 32.56 kB / 0.79 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.7151, allocations: 7.688 kB / 0.79 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.7152, allocations: 11.94 kB / 0.79 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.007e-05/0.7152, allocations: 19.39 kB / 0.7901 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.7152, allocations: 1.344 kB / 0.7901 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.7173, allocations: 1.507 MB / 0.7915 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.7174, allocations: 7.766 kB / 0.7915 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.7174, allocations: 14.81 kB / 0.7916 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.7187, allocations: 1.093 MB / 0.7926 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7187, allocations: 5.094 kB / 0.7926 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7187, allocations: 0 / 0.7926 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7187, allocations: 0 / 0.7926 GB, free: 45.98 MB / 0.6544 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.0004925/0.7192, allocations: 0.5141 MB / 0.7931 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7193, allocations: 18.08 kB / 0.7931 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.7193, allocations: 79.62 kB / 0.7932 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.6e-05/0.7194, allocations: 257.9 kB / 0.7935 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.7195, allocations: 152.2 kB / 0.7936 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.7195, allocations: 154.3 kB / 0.7938 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.703e-05/0.7195, allocations: 106.4 kB / 0.7939 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.7196, allocations: 76 kB / 0.7939 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.7196, allocations: 154.9 kB / 0.7941 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.7196, allocations: 153.8 kB / 0.7942 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.7197, allocations: 153.6 kB / 0.7944 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.7199, allocations: 465.3 kB / 0.7948 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.047e-05/0.7199, allocations: 171.4 kB / 0.795 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.7199, allocations: 81.55 kB / 0.7951 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.7199, allocations: 79.25 kB / 0.7951 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.72, allocations: 109.8 kB / 0.7952 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.72, allocations: 0 / 0.7952 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.762e-05/0.7201, allocations: 36.5 kB / 0.7953 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.7201, allocations: 126.7 kB / 0.7954 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.7202, allocations: 133 kB / 0.7955 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.7202, allocations: 25.7 kB / 0.7955 GB, free: 43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.7203, allocations: 93.8 kB / 0.7956 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.7203, allocations: 0 / 0.7956 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.7203, allocations: 20.62 kB / 0.7957 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.7204, allocations: 317.5 kB / 0.796 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.7204, allocations: 7.281 kB / 0.796 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.468e-05/0.7204, allocations: 5.656 kB / 0.796 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.7204, allocations: 11.55 kB / 0.796 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7205, allocations: 1.969 kB / 0.796 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.7206, allocations: 58.12 kB / 0.796 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.7206, allocations: 3.406 kB / 0.796 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.7206, allocations: 5.969 kB / 0.796 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7206, allocations: 0 / 0.796 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.7206, allocations: 3.938 kB / 0.7961 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7206, allocations: 0 / 0.7961 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.7207, allocations: 4.688 kB / 0.7961 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.7207, allocations: 5.266 kB / 0.7961 GB, free: 42.53 MB / 0.6544 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 5.888e-05/0.7208, allocations: 189 kB / 0.7962 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.7208, allocations: 114.6 kB / 0.7964 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.7208, allocations: 112 kB / 0.7965 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.7209, allocations: 178.7 kB / 0.7966 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.868e-05/0.7209, allocations: 189.4 kB / 0.7968 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.7209, allocations: 185.3 kB / 0.797 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.7211, allocations: 412.2 kB / 0.7974 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.7211, allocations: 104.1 kB / 0.7975 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.7211, allocations: 107.9 kB / 0.7976 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/0.7211, allocations: 182.2 kB / 0.7978 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.7212, allocations: 181 kB / 0.7979 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-05/0.7212, allocations: 182.7 kB / 0.7981 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-05/0.7212, allocations: 180.1 kB / 0.7983 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.434e-05/0.7213, allocations: 310.3 kB / 0.7986 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.7213, allocations: 189 kB / 0.7987 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.7214, allocations: 182.6 kB / 0.7989 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.7215, allocations: 102.8 kB / 0.799 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.7215, allocations: 182.8 kB / 0.7992 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.7215, allocations: 108 kB / 0.7993 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.7215, allocations: 93.8 kB / 0.7994 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7216, allocations: 5.5 kB / 0.7994 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005987/0.7222, allocations: 280.7 kB / 0.7997 GB, free: 38.97 MB / 0.6544 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.0009695/0.7231, allocations: 0.5398 MB / 0.8002 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.7232, allocations: 36.58 kB / 0.8002 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7233, allocations: 6.312 kB / 0.8002 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.7233, allocations: 3.438 kB / 0.8002 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.7236, allocations: 469.2 kB / 0.8007 GB, free: 38.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.7238, allocations: 245.6 kB / 0.8009 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.724, allocations: 0.6833 MB / 0.8016 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.334e-05/0.724, allocations: 3.344 kB / 0.8016 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.154e-05/0.724, allocations: 7.438 kB / 0.8016 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.724, allocations: 0 / 0.8016 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.01134/0.7353, allocations: 5.558 MB / 0.807 GB, free: 37.01 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)