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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001251/0.001251, allocations: 193.7 kB / 16.14 MB, free: 6.66 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.45/1.45, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.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.712/1.712, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001348/0.001348, allocations: 72.78 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.251, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00298/0.254, allocations: 1.491 MB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004911/0.259, allocations: 3.053 MB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.2591, allocations: 0 / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.2592, allocations: 3.938 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/0.2593, allocations: 15.84 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB [/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.004385/0.2636, allocations: 1.443 MB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.819e-05/0.2637, allocations: 35.8 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.2638, allocations: 4 kB / 0.7886 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.2638, allocations: 11.92 kB / 0.7886 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.2639, allocations: 23.86 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2639, allocations: 4 kB / 0.7887 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.2664, allocations: 1.439 MB / 0.7901 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.2664, allocations: 7.984 kB / 0.7901 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.2665, allocations: 15.88 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.268, allocations: 1.111 MB / 0.7912 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.268, allocations: 11.94 kB / 0.7912 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.405e-06/0.268, allocations: 0 / 0.7912 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.268, allocations: 4 kB / 0.7912 GB, free: 5.312 MB / 0.6075 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.0007694/0.2688, allocations: 0.503 MB / 0.7917 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.2688, allocations: 11.98 kB / 0.7917 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.2689, allocations: 80.22 kB / 0.7918 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.2692, allocations: 247.5 kB / 0.792 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.2692, allocations: 162.9 kB / 0.7922 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.2693, allocations: 150.9 kB / 0.7923 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2694, allocations: 109 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.2695, allocations: 79.28 kB / 0.7925 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.2696, allocations: 154.6 kB / 0.7926 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/0.2696, allocations: 150.6 kB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/0.2697, allocations: 154.6 kB / 0.7929 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.27, allocations: 469.8 kB / 0.7934 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.2702, allocations: 169.1 kB / 0.7935 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.2703, allocations: 84.08 kB / 0.7936 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.2703, allocations: 79.28 kB / 0.7937 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.2704, allocations: 117.8 kB / 0.7938 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2704, allocations: 0 / 0.7938 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.224e-05/0.2705, allocations: 25.7 kB / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.2705, allocations: 130.7 kB / 0.794 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2707, allocations: 133.7 kB / 0.7941 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2707, allocations: 29.7 kB / 0.7941 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.2708, allocations: 100.1 kB / 0.7942 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.2708, allocations: 16 / 0.7942 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.2708, allocations: 13.72 kB / 0.7942 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.271, allocations: 322.8 kB / 0.7945 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.271, allocations: 4 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.271, allocations: 16 / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.271, allocations: 16.86 kB / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2711, allocations: 0 / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.2712, allocations: 53.66 kB / 0.7946 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2712, allocations: 6.5 kB / 0.7946 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.2712, allocations: 4 kB / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2713, allocations: 3.938 kB / 0.7946 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.2713, allocations: 0 / 0.7946 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2713, allocations: 0 / 0.7946 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.2713, allocations: 7.906 kB / 0.7946 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2713, allocations: 0 / 0.7946 GB, free: 1.57 MB / 0.6075 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.0001063/0.2714, allocations: 181.1 kB / 0.7948 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.2715, allocations: 121 kB / 0.7949 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.2716, allocations: 112.8 kB / 0.795 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.572e-05/0.2717, allocations: 188.2 kB / 0.7952 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.621e-05/0.2717, allocations: 176.3 kB / 0.7954 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-05/0.2718, allocations: 180.2 kB / 0.7955 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.2721, allocations: 417.2 kB / 0.7959 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/0.2721, allocations: 108.9 kB / 0.796 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.2722, allocations: 105 kB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.027e-05/0.2723, allocations: 180.3 kB / 0.7963 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/0.2724, allocations: 180.2 kB / 0.7965 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-05/0.2724, allocations: 180.2 kB / 0.7967 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.687e-05/0.2725, allocations: 192.2 kB / 0.7968 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.2727, allocations: 303.7 kB / 0.7971 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.2727, allocations: 193.9 kB / 0.7973 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.2728, allocations: 180.3 kB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.2729, allocations: 108.9 kB / 0.7976 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.273, allocations: 180.3 kB / 0.7978 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.273, allocations: 104.9 kB / 0.7979 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.81e-05/0.2731, allocations: 99.25 kB / 0.798 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.104e-06/0.2731, allocations: 4 kB / 0.798 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007978/0.2739, allocations: 287.7 kB / 0.7982 GB, free: 13.64 MB / 0.6231 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.001199/0.2751, allocations: 0.5315 MB / 0.7988 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.2753, allocations: 41.69 kB / 0.7988 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2753, allocations: 0 / 0.7988 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.2753, allocations: 0 / 0.7988 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.2758, allocations: 0.5303 MB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.2761, allocations: 237.8 kB / 0.7995 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2764, allocations: 0.6926 MB / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.2765, allocations: 0 / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.2765, allocations: 7.438 kB / 0.8002 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of SimCode: time 1.923e-06/0.2765, allocations: 0 / 0.8002 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.009409/0.2859, allocations: 5.605 MB / 0.8057 GB, free: 5.992 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)