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.001552/0.001552, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002589/0.002589, allocations: 187.8 kB / 16.25 MB, free: 6.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.62/1.62, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.76/1.76, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001994/0.001995, allocations: 75.59 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 114.6 MB / 0.7829 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002738/0.3043, allocations: 1.484 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004493/0.3088, allocations: 2.932 MB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.3089, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.3089, allocations: 7.922 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.309, allocations: 11.92 kB / 0.7872 GB, free: 9.371 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.003776/0.3128, allocations: 1.507 MB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.568e-05/0.3129, allocations: 39.73 kB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.3129, allocations: 4 kB / 0.7888 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.313, allocations: 11.94 kB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.313, allocations: 19.86 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.313, allocations: 0 / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.315, allocations: 1.443 MB / 0.7902 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.315, allocations: 3.984 kB / 0.7902 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.315, allocations: 19.88 kB / 0.7902 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3163, allocations: 1.088 MB / 0.7913 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3163, allocations: 0 / 0.7913 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3163, allocations: 3.938 kB / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3163, allocations: 0 / 0.7913 GB, free: 5.25 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.0006176/0.317, allocations: 0.5068 MB / 0.7918 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.317, allocations: 19.92 kB / 0.7918 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.072e-05/0.3171, allocations: 80.2 kB / 0.7919 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3173, allocations: 247.5 kB / 0.7921 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.3174, allocations: 154.9 kB / 0.7923 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.3175, allocations: 158.9 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/0.3176, allocations: 105.1 kB / 0.7925 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.3177, allocations: 75.28 kB / 0.7926 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.3177, allocations: 154.6 kB / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-05/0.3178, allocations: 154.5 kB / 0.7929 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.3179, allocations: 158.5 kB / 0.793 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.3183, allocations: 465.8 kB / 0.7935 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3185, allocations: 165.2 kB / 0.7936 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.3185, allocations: 88.14 kB / 0.7937 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.3186, allocations: 79.28 kB / 0.7938 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.25e-05/0.3187, allocations: 121.7 kB / 0.7939 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.3187, allocations: 0 / 0.7939 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001331/0.3188, allocations: 29.7 kB / 0.7939 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.3189, allocations: 126.7 kB / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.3191, allocations: 129.7 kB / 0.7942 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3191, allocations: 25.7 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.3192, allocations: 96.14 kB / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.3192, allocations: 0 / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.3193, allocations: 17.7 kB / 0.7943 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3195, allocations: 314.8 kB / 0.7946 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.3195, allocations: 4 kB / 0.7946 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.3195, allocations: 4 kB / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.3196, allocations: 20.78 kB / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3196, allocations: 0 / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001512/0.3197, allocations: 53.67 kB / 0.7947 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3198, allocations: 6.344 kB / 0.7947 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.3198, allocations: 0 / 0.7947 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3198, allocations: 4 kB / 0.7947 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.3198, allocations: 0 / 0.7947 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.3198, allocations: 3.984 kB / 0.7947 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.3199, allocations: 7.844 kB / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3199, allocations: 0 / 0.7947 GB, free: 1.504 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.0001396/0.3201, allocations: 189.1 kB / 0.7949 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/0.3201, allocations: 112.9 kB / 0.795 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.3202, allocations: 112.9 kB / 0.7951 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/0.3203, allocations: 188.1 kB / 0.7953 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.185e-05/0.3204, allocations: 180.3 kB / 0.7955 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.315e-05/0.3205, allocations: 176.3 kB / 0.7956 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.3208, allocations: 417.2 kB / 0.796 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.227e-05/0.3209, allocations: 108.9 kB / 0.7961 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.914e-05/0.321, allocations: 108.9 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.573e-05/0.3211, allocations: 176.3 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/0.3212, allocations: 176.3 kB / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.707e-05/0.3213, allocations: 184.2 kB / 0.7967 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.911e-05/0.3214, allocations: 180.3 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.3216, allocations: 315.7 kB / 0.7972 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3217, allocations: 189.9 kB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.3218, allocations: 180.2 kB / 0.7976 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.3219, allocations: 117 kB / 0.7977 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.322, allocations: 180.2 kB / 0.7979 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.3221, allocations: 105 kB / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.299e-05/0.3222, allocations: 95.27 kB / 0.798 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.3222, allocations: 0 / 0.798 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001043/0.3232, allocations: 275.8 kB / 0.7983 GB, free: 13.59 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.001346/0.3246, allocations: 0.5538 MB / 0.7989 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.3247, allocations: 37.98 kB / 0.7989 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3247, allocations: 0 / 0.7989 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.3248, allocations: 0 / 0.7989 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.3252, allocations: 467.7 kB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.3257, allocations: 244 kB / 0.7996 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3262, allocations: 0.6846 MB / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.3262, allocations: 0 / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.3262, allocations: 7.438 kB / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.3262, allocations: 0 / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.01103/0.3372, allocations: 5.576 MB / 0.8057 GB, free: 6.02 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)