Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.309/2.31, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 169.6 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008589/0.0008586, allocations: 85.06 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007117/0.0007117, allocations: 19.58 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2697, allocations: 106.3 MB / 0.8996 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002421/0.2722, allocations: 1.151 MB / 0.9007 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007647/0.2799, allocations: 2.778 MB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.28, allocations: 0 / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.2801, allocations: 3.938 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.2802, allocations: 15.84 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.007638/0.2878, allocations: 1.325 MB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.288, allocations: 43.73 kB / 0.9047 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.2881, allocations: 0 / 0.9047 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.2881, allocations: 11.94 kB / 0.9048 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.2882, allocations: 27.86 kB / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2882, allocations: 3.938 kB / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.2922, allocations: 1.26 MB / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.2923, allocations: 4 kB / 0.906 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.2924, allocations: 33.64 kB / 0.9061 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.2945, allocations: 0.7216 MB / 0.9068 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2946, allocations: 0 / 0.9068 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2946, allocations: 0 / 0.9068 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2946, allocations: 0 / 0.9068 GB, free: 58.06 MB / 0.6042 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.0009157/0.2956, allocations: 0.5224 MB / 0.9073 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.2956, allocations: 8.031 kB / 0.9073 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.2957, allocations: 84.12 kB / 0.9074 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2959, allocations: 249.4 kB / 0.9076 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.2959, allocations: 150.9 kB / 0.9077 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.296, allocations: 150.9 kB / 0.9079 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.151e-05/0.2961, allocations: 117 kB / 0.908 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.2961, allocations: 79.27 kB / 0.9081 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.2962, allocations: 150.6 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.2962, allocations: 150.6 kB / 0.9084 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.2963, allocations: 154.6 kB / 0.9085 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.2967, allocations: 465.9 kB / 0.9089 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.465e-05/0.2968, allocations: 169.1 kB / 0.9091 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.2968, allocations: 80.14 kB / 0.9092 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2968, allocations: 75.28 kB / 0.9093 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.2969, allocations: 117.8 kB / 0.9094 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 2.245e-06/0.2969, allocations: 4 kB / 0.9094 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.297, allocations: 33.59 kB / 0.9094 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.2971, allocations: 55.41 kB / 0.9095 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.2973, allocations: 131.4 kB / 0.9096 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2973, allocations: 25.7 kB / 0.9096 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.2974, allocations: 96.12 kB / 0.9097 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-06/0.2974, allocations: 0 / 0.9097 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.2974, allocations: 0 / 0.9097 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.2975, allocations: 318.8 kB / 0.91 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.2976, allocations: 15.92 kB / 0.91 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.2976, allocations: 4 kB / 0.91 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.2977, allocations: 8 kB / 0.91 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-05/0.2977, allocations: 0 / 0.91 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/0.298, allocations: 53.55 kB / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.298, allocations: 4 kB / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.298, allocations: 4 kB / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2981, allocations: 0 / 0.9101 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-06/0.2981, allocations: 3.984 kB / 0.9101 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2981, allocations: 8 kB / 0.9101 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.2982, allocations: 0 / 0.9101 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2982, allocations: 4 kB / 0.9101 GB, free: 54.41 MB / 0.6042 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 9.784e-05/0.2983, allocations: 181.1 kB / 0.9103 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.2984, allocations: 116.8 kB / 0.9104 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.2985, allocations: 108.9 kB / 0.9105 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.806e-05/0.2986, allocations: 196.2 kB / 0.9107 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/0.2986, allocations: 101 kB / 0.9108 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.2987, allocations: 182 kB / 0.911 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.2988, allocations: 184.2 kB / 0.9111 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.2989, allocations: 101 kB / 0.9112 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.299, allocations: 188.2 kB / 0.9114 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.514e-05/0.2991, allocations: 259.5 kB / 0.9117 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001384/0.2992, allocations: 387 kB / 0.912 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.736e-05/0.2993, allocations: 105 kB / 0.9121 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.255e-05/0.2994, allocations: 97.14 kB / 0.9122 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of Backend: time 1.122e-06/0.2994, allocations: 0 / 0.9122 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002903/0.3023, allocations: 0.5051 MB / 0.9127 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006639/0.303, allocations: 0.9984 MB / 0.9137 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.02159/0.3247, allocations: 6.509 MB / 0.92 GB, free: 44.11 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)