Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001496/0.001496, allocations: 186.3 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 69.73 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2807, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002449/0.2832, allocations: 1.509 MB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004483/0.2877, allocations: 2.895 MB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.2878, allocations: 3.938 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.2879, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.288, allocations: 11.86 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.2918, allocations: 1.468 MB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.2919, allocations: 43.73 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.2919, allocations: 7.984 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.292, allocations: 19.92 kB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.632e-05/0.292, allocations: 15.88 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.292, allocations: 3.938 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.2941, allocations: 1.466 MB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.2942, allocations: 3.938 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.2942, allocations: 19.88 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.2957, allocations: 1.096 MB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2957, allocations: 3.984 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2957, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2957, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 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.0006201/0.2963, allocations: 0.5223 MB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2964, allocations: 8.031 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.2964, allocations: 80.22 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.2966, allocations: 247.5 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.2967, allocations: 154.9 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.2967, allocations: 154.9 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.939e-05/0.2968, allocations: 105.1 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.2968, allocations: 79.28 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.2969, allocations: 150.6 kB / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.2969, allocations: 154.6 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.297, allocations: 154.5 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.2973, allocations: 469.8 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.2974, allocations: 169.1 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.2974, allocations: 80.14 kB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2975, allocations: 79.33 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.2975, allocations: 117.8 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.2975, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.168e-05/0.2976, allocations: 29.64 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.2977, allocations: 130.7 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2978, allocations: 139.1 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2979, allocations: 29.7 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.2979, allocations: 96.12 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.2979, allocations: 0 / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.298, allocations: 13.72 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2981, allocations: 318.8 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.2981, allocations: 8 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.2981, allocations: 8 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.2982, allocations: 12.86 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2982, allocations: 7.969 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001382/0.2983, allocations: 57.47 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2984, allocations: 9.562 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.2984, allocations: 4 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2984, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.2984, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2984, allocations: 3.938 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.2985, allocations: 4 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2985, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 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.0001017/0.2986, allocations: 189.2 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.2987, allocations: 116.8 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.2987, allocations: 108.8 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/0.2988, allocations: 176.3 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.489e-05/0.2988, allocations: 192.2 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.325e-05/0.2989, allocations: 180.2 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.2991, allocations: 417.2 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/0.2992, allocations: 104.9 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.2992, allocations: 101 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.258e-05/0.2993, allocations: 184.2 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.2994, allocations: 184.2 kB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.237e-05/0.2994, allocations: 184.2 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.688e-05/0.2995, allocations: 180.3 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.2996, allocations: 315.8 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.2997, allocations: 189.9 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.2998, allocations: 180.2 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.2999, allocations: 105 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.2999, allocations: 180.3 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.3, allocations: 112.9 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.3, allocations: 96.83 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3001, allocations: 0 / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007626/0.3008, allocations: 287.8 kB / 1.083 GB, free: 10.45 MB / 0.8419 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.001195/0.302, allocations: 0.5292 MB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3022, allocations: 37.7 kB / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3022, allocations: 0 / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.3022, allocations: 4 kB / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3026, allocations: 475.6 kB / 1.084 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.3029, allocations: 240 kB / 1.084 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3032, allocations: 0.6885 MB / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.3032, allocations: 0 / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.3032, allocations: 7.438 kB / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3032, allocations: 0 / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of Templates: time 0.009856/0.3131, allocations: 5.656 MB / 1.091 GB, free: 2.801 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)