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.0009984/0.000998, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009383/0.0009382, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.635/1.635, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.000647/0.0006471, allocations: 14.62 kB / 0.6736 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2718, allocations: 116.3 MB / 0.7872 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00148/0.2733, allocations: 1.126 MB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003978/0.2773, allocations: 2.612 MB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.2774, allocations: 0 / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.2774, allocations: 3.984 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.2775, allocations: 7.969 kB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.2808, allocations: 1.29 MB / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.319e-05/0.2809, allocations: 35.94 kB / 0.7921 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.2809, allocations: 4 kB / 0.7921 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.281, allocations: 11.94 kB / 0.7921 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.738e-05/0.281, allocations: 11.94 kB / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-06/0.281, allocations: 0 / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.2826, allocations: 1.182 MB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.2826, allocations: 0 / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2827, allocations: 37.64 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009201/0.2836, allocations: 0.7177 MB / 0.794 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2836, allocations: 0 / 0.794 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2836, allocations: 4 kB / 0.7941 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.2836, allocations: 0 / 0.7941 GB, free: 4.891 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.0006087/0.2842, allocations: 0.5028 MB / 0.7945 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.2843, allocations: 11.98 kB / 0.7946 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.2844, allocations: 79.19 kB / 0.7946 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.2846, allocations: 258.2 kB / 0.7949 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.2846, allocations: 150.6 kB / 0.795 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.2847, allocations: 154.6 kB / 0.7952 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.853e-05/0.2848, allocations: 104.9 kB / 0.7953 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.2848, allocations: 75.28 kB / 0.7953 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.2849, allocations: 150.6 kB / 0.7955 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/0.2849, allocations: 150.6 kB / 0.7956 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.285, allocations: 166.5 kB / 0.7958 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.2853, allocations: 465.8 kB / 0.7962 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.916e-05/0.2854, allocations: 173.1 kB / 0.7964 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.2855, allocations: 75.28 kB / 0.7965 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.2855, allocations: 113.8 kB / 0.7966 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2855, allocations: 0 / 0.7966 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.6e-05/0.2856, allocations: 29.7 kB / 0.7966 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.2857, allocations: 126.7 kB / 0.7967 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2858, allocations: 133.9 kB / 0.7969 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2859, allocations: 25.7 kB / 0.7969 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.2859, allocations: 104 kB / 0.797 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.2859, allocations: 0 / 0.797 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.286, allocations: 0 / 0.797 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2861, allocations: 322.8 kB / 0.7973 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.2862, allocations: 7.984 kB / 0.7973 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.2862, allocations: 4 kB / 0.7973 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.2862, allocations: 8 kB / 0.7973 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2862, allocations: 0 / 0.7973 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.2863, allocations: 37.7 kB / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2864, allocations: 6.969 kB / 0.7973 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.2864, allocations: 7.984 kB / 0.7974 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2864, allocations: 0 / 0.7974 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.2864, allocations: 4.062 kB / 0.7974 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2864, allocations: 0 / 0.7974 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.2864, allocations: 7.906 kB / 0.7974 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2865, allocations: 0 / 0.7974 GB, free: 1.273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.2866, allocations: 193 kB / 0.7975 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.2866, allocations: 105 kB / 0.7976 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.2867, allocations: 112.8 kB / 0.7978 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.267e-05/0.2868, allocations: 184.2 kB / 0.7979 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.488e-05/0.2869, allocations: 176.3 kB / 0.7981 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-05/0.2869, allocations: 180.3 kB / 0.7983 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.2872, allocations: 417.1 kB / 0.7987 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.945e-05/0.2873, allocations: 105 kB / 0.7988 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.2873, allocations: 104.9 kB / 0.7989 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.49e-05/0.2874, allocations: 184.3 kB / 0.799 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.2875, allocations: 184.2 kB / 0.7992 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-05/0.2876, allocations: 176.3 kB / 0.7994 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.178e-05/0.2877, allocations: 176.5 kB / 0.7996 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.2878, allocations: 331.7 kB / 0.7999 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.569e-05/0.2879, allocations: 189.9 kB / 0.8001 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/0.288, allocations: 184.2 kB / 0.8002 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.2881, allocations: 101 kB / 0.8003 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.2882, allocations: 180.2 kB / 0.8005 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.2882, allocations: 108.9 kB / 0.8006 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.2883, allocations: 99.27 kB / 0.8007 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2883, allocations: 0 / 0.8007 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006377/0.289, allocations: 279.8 kB / 0.801 GB, free: 13.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009199/0.2899, allocations: 0.5121 MB / 0.8015 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.29, allocations: 37.64 kB / 0.8015 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.29, allocations: 4.062 kB / 0.8015 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.29, allocations: 0 / 0.8015 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.2904, allocations: 0.5301 MB / 0.802 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.2907, allocations: 263.7 kB / 0.8023 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.291, allocations: 0.6848 MB / 0.8029 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.291, allocations: 0 / 0.8029 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.291, allocations: 11.44 kB / 0.803 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.291, allocations: 0 / 0.803 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.009506/0.3005, allocations: 5.504 MB / 0.8083 GB, free: 5.793 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: